OSDN Git Service

Remove excess whitespace from the factory reset screen
authorSami Tolvanen <samitolvanen@google.com>
Thu, 16 Oct 2014 22:19:17 +0000 (15:19 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 16 Oct 2014 22:19:17 +0000 (15:19 -0700)
The bullet pointed list in the factory reset screen consists
of two separate strings, which lead to excess whitespace
between the two segments of the list. Remove padding from the
text views to remove the whitespace.

Bug: 17997459
Change-Id: I60eb6f0f2924323d7eb806ff2b1180ebc7189adb

res/layout/master_clear.xml

index db62936..d40de24 100644 (file)
             <TextView
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
+                android:includeFontPadding="false"
                 android:textSize="18sp"
                 android:text="@string/master_clear_desc" />
             <TextView android:id="@+id/also_erases_external"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
+                android:includeFontPadding="false"
                 android:visibility="gone"
                 android:textSize="18sp"
                 android:text="@string/master_clear_desc_also_erases_external" />