OSDN Git Service

Change font size for app listings screens
authorYuchen Chang <yuchenchang@google.com>
Mon, 2 Apr 2018 09:50:23 +0000 (17:50 +0800)
committerYuchen Chang <yuchenchang@google.com>
Tue, 3 Apr 2018 04:40:33 +0000 (12:40 +0800)
Change the font size to 18sp to keep consistent with master toggle switches pages.

Change-Id: I4f2ceb6da9e3e34e95877bd55cbd50334ca1f06b
Fixes: 77429403
Test: Manual test

res/layout/switch_bar.xml
res/values/styles.xml

index 29e125b..a172051 100644 (file)
@@ -29,7 +29,6 @@
         android:ellipsize="end"
         android:textAppearance="@style/TextAppearance.Switch"
         android:textColor="?android:attr/textColorPrimary"
-        android:textSize="18sp"
         android:textAlignment="viewStart" />
 
     <ImageView
index b3178f5..8ff7300 100644 (file)
 
     <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Material.Medium" />
     <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Material.Small" />
-    <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Material.Title" />
+    <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Material.Title">
+        <item name="android:textSize">18sp</item>
+    </style>
 
     <style name="TextAppearance.CategoryTitle" parent="@android:style/TextAppearance.Material.Body2">
         <item name="android:textColor">?android:attr/textColorSecondary</item>