1<?xml version="1.0" encoding="utf-8"?> 2<com.android.systemui.HardwareUiLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 android:id="@id/global_actions_view" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent" 7 android:layout_gravity="top|right" 8 android:layout_marginBottom="0dp" 9 android:orientation="vertical" 10 android:paddingTop="@dimen/global_actions_top_padding" 11 android:clipToPadding="false" 12 android:theme="@style/qs_theme" 13 android:clipChildren="false"> 14 15 <!-- Global actions is right-aligned to be physically near power button --> 16 <LinearLayout 17 android:id="@android:id/list" 18 android:layout_width="wrap_content" 19 android:layout_height="wrap_content" 20 android:layout_gravity="top|right" 21 android:gravity="center" 22 android:orientation="vertical" 23 android:padding="@dimen/global_actions_padding" 24 android:translationZ="@dimen/global_actions_translate" /> 25 26 <!-- For separated button--> 27 <FrameLayout 28 android:id="@+id/separated_button" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:layout_gravity="top|right" 32 android:layout_marginTop="6dp" 33 android:gravity="center" 34 android:orientation="vertical" 35 android:padding="@dimen/global_actions_padding" 36 android:translationZ="@dimen/global_actions_translate" /> 37 38</com.android.systemui.HardwareUiLayout> 39