| <?xml version="1.0" encoding="utf-8"?> |
| <com.android.systemui.HardwareUiLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@id/global_actions_view" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_gravity="top|right" |
| android:layout_marginBottom="0dp" |
| android:orientation="vertical" |
| android:paddingTop="@dimen/global_actions_top_padding" |
| android:clipToPadding="false" |
| 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|right" |
| android:gravity="center" |
| android:orientation="vertical" |
| android:padding="@dimen/global_actions_padding" |
| android:translationZ="@dimen/global_actions_translate" /> |
| |
| <!-- For separated button--> |
| <FrameLayout |
| android:id="@+id/separated_button" |
| android:layout_width="@dimen/global_actions_panel_width" |
| android:layout_height="wrap_content" |
| android:layout_gravity="top|right" |
| android:layout_marginTop="6dp" |
| android:gravity="center" |
| android:orientation="vertical" |
| android:padding="@dimen/global_actions_padding" |
| android:translationZ="@dimen/global_actions_translate" /> |
| |
| </com.android.systemui.HardwareUiLayout> |