| <?xml version="1.0" encoding="utf-8"?> |
| <com.android.systemui.globalactions.GlobalActionsGridLayout |
| 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:orientation="horizontal" |
| android:theme="@style/qs_theme" |
| android:gravity="right | center_vertical" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:paddingRight="@dimen/global_actions_grid_container_shadow_offset" |
| android:layout_marginRight="@dimen/global_actions_grid_container_negative_shadow_offset" |
| > |
| <LinearLayout |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:orientation="vertical" |
| android:layout_marginRight="@dimen/global_actions_grid_container_bottom_margin" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| > |
| <!-- Grid of action items --> |
| <com.android.systemui.globalactions.ListGridLayout |
| android:id="@android:id/list" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_marginTop="@dimen/global_actions_grid_side_margin" |
| android:translationZ="@dimen/global_actions_translate" |
| android:paddingLeft="@dimen/global_actions_grid_vertical_padding" |
| android:paddingRight="@dimen/global_actions_grid_vertical_padding" |
| android:paddingTop="@dimen/global_actions_grid_horizontal_padding" |
| android:paddingBottom="@dimen/global_actions_grid_horizontal_padding" |
| android:background="?android:attr/colorBackgroundFloating" |
| > |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="gone" |
| android:layoutDirection="locale" |
| /> |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="gone" |
| android:layoutDirection="locale" |
| /> |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="gone" |
| android:layoutDirection="locale" |
| /> |
| </com.android.systemui.globalactions.ListGridLayout> |
| <!-- For separated items--> |
| <LinearLayout |
| android:id="@+id/separated_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="@dimen/global_actions_grid_side_margin" |
| android:layout_marginBottom="@dimen/global_actions_grid_side_margin" |
| android:paddingLeft="@dimen/global_actions_grid_vertical_padding" |
| android:paddingRight="@dimen/global_actions_grid_vertical_padding" |
| android:paddingTop="@dimen/global_actions_grid_horizontal_padding" |
| android:paddingBottom="@dimen/global_actions_grid_horizontal_padding" |
| android:orientation="horizontal" |
| android:layoutDirection="ltr" |
| android:background="?android:attr/colorBackgroundFloating" |
| android:gravity="center" |
| android:translationZ="@dimen/global_actions_translate" |
| /> |
| |
| </LinearLayout> |
| |
| </com.android.systemui.globalactions.GlobalActionsGridLayout> |