OSDN Git Service

Align battery consumer app title to view start.
authorFan Zhang <zhfan@google.com>
Fri, 29 Jul 2016 20:58:30 +0000 (13:58 -0700)
committerFan Zhang <zhfan@google.com>
Fri, 29 Jul 2016 21:00:31 +0000 (14:00 -0700)
Bug: 30161009

This makes sure in RTL language app titles start from right.

Change-Id: I87030121f39519d09e5872eb4c01ec682f69db55

res/layout/battery_active_view.xml

index b5ada00..bdc0328 100644 (file)
@@ -26,6 +26,7 @@
         android:id="@android:id/title"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:textAlignment="viewStart"
         android:textAppearance="?android:attr/textAppearanceMedium"
         android:textColor="?android:attr/textColorSecondary" />