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
This commit is contained in:
Fabrice Di Meglio
2014-05-20 10:10:36 -07:00
parent dcb73d8299
commit 8b81bfff2e
3 changed files with 12 additions and 4 deletions

View File

@@ -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"
/>

View File

@@ -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"
/>

View File

@@ -258,7 +258,15 @@
<item name="android:layout">@layout/apn_preference_layout</item>
</style>
<style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Quantum.Medium">
<style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Quantum.Medium">
<item name="android:textSize">16sp</item>
</style>
<style name="TextAppearance.Small" parent="@android:style/TextAppearance.Quantum.Small">
<item name="android:textSize">14sp</item>
</style>
<style name="TextAppearance.Switch" parent="TextAppearance.Medium">
</style>
</resources>