summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-06-29 15:30:47 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-29 15:31:43 -0700
commitf65163bd216775476df124e07c276a9b0bceba42 (patch)
tree28449408df325122f8e17c61a8583749fe676dca
parented5b76a12e19c474ba8b157be9296fe6743933ad (diff)
UI Refresh for contacts.
Bug: 79880255 Test: manual PiperOrigin-RevId: 202717921 Change-Id: I3854263ae229e1a0bd8cab3b42e2439239a98d7f
-rw-r--r--java/com/android/dialer/contactsfragment/res/layout/add_contact_row.xml3
-rw-r--r--java/com/android/dialer/contactsfragment/res/layout/contact_row.xml6
2 files changed, 3 insertions, 6 deletions
diff --git a/java/com/android/dialer/contactsfragment/res/layout/add_contact_row.xml b/java/com/android/dialer/contactsfragment/res/layout/add_contact_row.xml
index be4ee0853..d2905e523 100644
--- a/java/com/android/dialer/contactsfragment/res/layout/add_contact_row.xml
+++ b/java/com/android/dialer/contactsfragment/res/layout/add_contact_row.xml
@@ -45,5 +45,6 @@
android:paddingEnd="@dimen/text_padding_end"
android:gravity="center_vertical"
android:text="@string/all_contacts_empty_add_contact_action"
- style="@style/Dialer.TextAppearance.Primary"/>
+ android:textColor="?android:attr/colorPrimary"
+ style="@style/Dialer.TextAppearance.Primary2"/>
</LinearLayout>
diff --git a/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml b/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml
index 3309ab474..209acb00e 100644
--- a/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml
+++ b/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml
@@ -47,11 +47,7 @@
android:layout_height="match_parent"
android:paddingStart="@dimen/text_padding_start"
android:paddingEnd="@dimen/text_padding_end"
- android:maxLines="1"
- android:ellipsize="end"
android:gravity="center_vertical"
- android:textSize="@dimen/text_size"
- android:textColor="?android:attr/textColorPrimary"
- android:fontFamily="sans-serif"/>
+ style="@style/Dialer.TextAppearance.Primary.Ellipsize"/>
</LinearLayout>
</FrameLayout> \ No newline at end of file