summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jason Monk <jmonk@google.com> 2017-08-14 11:15:07 -0400
committer Jason Monk <jmonk@google.com> 2017-08-14 15:25:38 +0000
commitac3e08e58400ec9c7b7c6174776b6ed6e556f7f2 (patch)
treea25524ba7928696d39d81e678b8aadef85c64e10
parent6135a265515801329c6df9ee2cf67e3b372f8d34 (diff)
Always show global actions on the right
It should be aligned with the physical power buttons. Test: visual Change-Id: Icec9fe00fdce42d0bf347691ab7629c4ca38df78 Fixes: 63846903
-rw-r--r--packages/SystemUI/res/layout/global_actions_wrapped.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/global_actions_wrapped.xml b/packages/SystemUI/res/layout/global_actions_wrapped.xml
index ec357d252a5c..43aa8abe6b66 100644
--- a/packages/SystemUI/res/layout/global_actions_wrapped.xml
+++ b/packages/SystemUI/res/layout/global_actions_wrapped.xml
@@ -9,11 +9,12 @@
android:theme="@style/qs_theme"
android:clipChildren="false">
+ <!-- Global actions is right-aligned to be physically near power button -->
<LinearLayout
android:id="@android:id/list"
android:layout_width="@dimen/global_actions_panel_width"
android:layout_height="wrap_content"
- android:layout_gravity="top|end"
+ android:layout_gravity="top|right"
android:gravity="center"
android:orientation="vertical"
android:padding="12dp"