summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-06-30 00:21:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-30 00:21:26 +0000
commit127998d2dde1014930e10d6dbd8841ab2c8228e4 (patch)
tree28449408df325122f8e17c61a8583749fe676dca /java
parented5b76a12e19c474ba8b157be9296fe6743933ad (diff)
parentf65163bd216775476df124e07c276a9b0bceba42 (diff)
Merge "UI Refresh for contacts."
Diffstat (limited to 'java')
-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