OSDN Git Service

Add textAlignment for preference_widget_summary
authorjackqdyulei <jackqdyulei@google.com>
Fri, 7 Apr 2017 19:09:40 +0000 (12:09 -0700)
committerjackqdyulei <jackqdyulei@google.com>
Tue, 11 Apr 2017 01:57:12 +0000 (18:57 -0700)
To make sure the text are aligned to the "viewEnd".

Bug: 37159537
Test: Screenshot
Change-Id: Ifab03dda6c9954d6b83ce4db0708303e0c5d32bd

res/layout/preference_widget_summary.xml

index aa4c76b..2d7ed1d 100644 (file)
@@ -18,5 +18,6 @@
     android:id="@+id/widget_summary"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
+    android:textAlignment="viewEnd"
     android:textAppearance="?android:attr/textAppearanceSmall"
     android:textColor="?android:attr/textColorSecondary" />