OSDN Git Service

Fix left aligned "Wi-Fi" category title in data usage page.
authorDoris Ling <dling@google.com>
Wed, 12 Jul 2017 21:45:31 +0000 (14:45 -0700)
committerDoris Ling <dling@google.com>
Fri, 14 Jul 2017 18:41:35 +0000 (11:41 -0700)
Set thee category title text view to align at the start position.

Change-Id: I9a297588e2f742d20b0d07bd6979e0378e41cb71
Merged-In: Iff5fbc595ec16396043d64a1ceb0fa81e874ea48
Merged-In: I9f0f51a9d070191f5bf8f3315fef4d997d6213c3
Fix: 63399239
Test: visual

res/layout/preference_category_material_settings.xml

index 5a1043d..3334bbb 100644 (file)
@@ -51,6 +51,7 @@
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:textAppearance="@android:style/TextAppearance.Material.Body2"
+            android:textAlignment="viewStart"
             android:textColor="?android:attr/colorAccent"
             android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"/>
         <TextView