summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2018-06-05 18:54:34 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-05 18:55:46 -0700
commit26cb60dd6e2a9eb748282a4dbf8352904a5c3310 (patch)
treeb3c49f529f9cdcb8a45c58bbed51d0c3fe0bfd64
parentb4d6e35844ef2ee5b77b34b487e019c802e27b29 (diff)
Center favorites name text
Test: manual PiperOrigin-RevId: 199395233 Change-Id: If238bad0d3c65b7ab2a1e88eadec47e77e482745
-rw-r--r--java/com/android/dialer/speeddial/res/layout/favorite_item_layout.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/com/android/dialer/speeddial/res/layout/favorite_item_layout.xml b/java/com/android/dialer/speeddial/res/layout/favorite_item_layout.xml
index a8bc55bb7..1299f08c7 100644
--- a/java/com/android/dialer/speeddial/res/layout/favorite_item_layout.xml
+++ b/java/com/android/dialer/speeddial/res/layout/favorite_item_layout.xml
@@ -68,6 +68,7 @@
android:layout_marginBottom="1dp"
android:fontFamily="sans-serif-medium"
android:textSize="14sp"
+ android:gravity="center_horizontal"
style="@style/Dialer.TextAppearance.Primary"/>
<TextView
@@ -78,5 +79,6 @@
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:layout_marginBottom="17dp"
+ android:gravity="center_horizontal"
style="@style/Dialer.TextAppearance.Secondary"/>
</LinearLayout> \ No newline at end of file