summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-08-14 18:04:10 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-08-14 18:04:10 +0000
commita2991d045d549fb7570619ae658a23f10bee172e (patch)
tree9f0ce1d91ca32febb0ac52f6c35dfb34dfed86cf
parent449bb694b45e4c7276db5ae4201cf0e5618818bb (diff)
parentac3e08e58400ec9c7b7c6174776b6ed6e556f7f2 (diff)
Merge "Always show global actions on the right" into oc-mr1-dev
-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"