OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10327d0
)
Align battery consumer app title to view start.
author
Fan Zhang
<zhfan@google.com>
Fri, 29 Jul 2016 20:58:30 +0000
(13:58 -0700)
committer
Fan 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
patch
|
blob
|
history
diff --git
a/res/layout/battery_active_view.xml
b/res/layout/battery_active_view.xml
index
b5ada00
..
bdc0328
100644
(file)
--- a/
res/layout/battery_active_view.xml
+++ b/
res/layout/battery_active_view.xml
@@
-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" />