summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2018-07-10 18:41:51 +0000
committerEric Erfanian <erfanian@google.com>2018-07-10 18:41:51 +0000
commitf15cc627264fbde09dd40c359fbb68ee0303d3be (patch)
tree215979c6cd2b4ec80f6fe1b8c3f803ceb9d08665
parentf65163bd216775476df124e07c276a9b0bceba42 (diff)
Revert "UI Refresh for contacts."
This reverts commit f65163bd216775476df124e07c276a9b0bceba42. Change-Id: Id7798160a67bf6f128336bea586b1216fc483552
-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, 6 insertions, 3 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 d2905e523..be4ee0853 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,6 +45,5 @@
android:paddingEnd="@dimen/text_padding_end"
android:gravity="center_vertical"
android:text="@string/all_contacts_empty_add_contact_action"
- android:textColor="?android:attr/colorPrimary"
- style="@style/Dialer.TextAppearance.Primary2"/>
+ style="@style/Dialer.TextAppearance.Primary"/>
</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 209acb00e..3309ab474 100644
--- a/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml
+++ b/java/com/android/dialer/contactsfragment/res/layout/contact_row.xml
@@ -47,7 +47,11 @@
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"
- style="@style/Dialer.TextAppearance.Primary.Ellipsize"/>
+ android:textSize="@dimen/text_size"
+ android:textColor="?android:attr/textColorPrimary"
+ android:fontFamily="sans-serif"/>
</LinearLayout>
</FrameLayout> \ No newline at end of file