From 8b81bfff2ecc923774673ed37431951cd9fcaa67 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Tue, 20 May 2014 10:10:36 -0700 Subject: [PATCH] Update Dashboard font sizes to match UX spec - 16sp for title (medium text) - 14sp for sub-title (small text) - 14sp for category title See bug: #13140648 Settings needs to support the new Quantum Paper theme Change-Id: I04eb99b4df1ffcb60bb906ed3e1ea588e886dba4 --- res/layout/dashboard_category.xml | 2 +- res/layout/dashboard_tile.xml | 4 ++-- res/values/styles.xml | 10 +++++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml index 74d7ed53ce2..1099ddafbfa 100644 --- a/res/layout/dashboard_category.xml +++ b/res/layout/dashboard_category.xml @@ -26,7 +26,7 @@ android:singleLine="true" android:ellipsize="marquee" android:gravity="center_vertical" - android:textAppearance="?android:attr/textAppearanceMedium" + android:textAppearance="@style/TextAppearance.Small" android:textAlignment="viewStart" /> diff --git a/res/layout/dashboard_tile.xml b/res/layout/dashboard_tile.xml index 7b61d171396..2a811b2a972 100644 --- a/res/layout/dashboard_tile.xml +++ b/res/layout/dashboard_tile.xml @@ -39,7 +39,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceMedium" + android:textAppearance="@style/TextAppearance.Medium" android:ellipsize="marquee" android:fadingEdge="horizontal" /> @@ -48,7 +48,7 @@ android:layout_height="wrap_content" android:layout_below="@android:id/title" android:layout_alignStart="@android:id/title" - android:textAppearance="?android:attr/textAppearanceSmall" + android:textAppearance="@style/TextAppearance.Small" android:textColor="?android:attr/textColorSecondary" /> diff --git a/res/values/styles.xml b/res/values/styles.xml index bc584bbe35b..460401eb838 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -258,7 +258,15 @@ @layout/apn_preference_layout - + + + + +