summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
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