Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <com.android.systemui.globalactions.GlobalActionsGridLayout |
| 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:orientation="horizontal" |
| 8 | android:clipToPadding="false" |
| 9 | android:theme="@style/qs_theme" |
| 10 | android:gravity="bottom|center" |
| 11 | android:clipChildren="false" |
| 12 | > |
| 13 | |
| 14 | <LinearLayout |
Aaron Heuckroth | 75e249f | 2019-02-01 15:59:57 -0500 | [diff] [blame] | 15 | android:layout_height="wrap_content" |
| 16 | android:layout_width="match_parent" |
| 17 | android:gravity="bottom | right" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 18 | android:padding="0dp" |
Aaron Heuckroth | 75e249f | 2019-02-01 15:59:57 -0500 | [diff] [blame] | 19 | android:layoutDirection="ltr" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 20 | android:layout_marginBottom="@dimen/global_actions_grid_container_bottom_margin" |
| 21 | > |
| 22 | <!-- For separated items--> |
| 23 | <LinearLayout |
| 24 | android:id="@+id/separated_button" |
| 25 | android:layout_width="wrap_content" |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 26 | android:layout_height="match_parent" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 27 | android:layout_marginLeft="@dimen/global_actions_grid_side_margin" |
| 28 | android:layout_marginRight="@dimen/global_actions_grid_side_margin" |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 29 | android:paddingLeft="@dimen/global_actions_grid_horizontal_padding" |
| 30 | android:paddingRight="@dimen/global_actions_grid_horizontal_padding" |
| 31 | android:paddingTop="@dimen/global_actions_grid_vertical_padding" |
| 32 | android:paddingBottom="@dimen/global_actions_grid_vertical_padding" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 33 | android:orientation="vertical" |
| 34 | android:background="?android:attr/colorBackgroundFloating" |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 35 | android:gravity="center" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 36 | android:translationZ="@dimen/global_actions_translate" |
| 37 | /> |
| 38 | |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 39 | <!-- Grid of action items --> |
| 40 | <com.android.systemui.globalactions.ListGridLayout |
| 41 | android:id="@android:id/list" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 44 | android:orientation="horizontal" |
| 45 | android:layoutDirection="rtl" |
| 46 | android:layout_marginRight="@dimen/global_actions_grid_side_margin" |
| 47 | android:translationZ="@dimen/global_actions_translate" |
Aaron Heuckroth | 4ea2fdb | 2019-02-14 16:28:35 -0500 | [diff] [blame] | 48 | android:paddingLeft="@dimen/global_actions_grid_horizontal_padding" |
| 49 | android:paddingRight="@dimen/global_actions_grid_horizontal_padding" |
| 50 | android:paddingTop="@dimen/global_actions_grid_vertical_padding" |
| 51 | android:paddingBottom="@dimen/global_actions_grid_vertical_padding" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 52 | android:background="?android:attr/colorBackgroundFloating" |
| 53 | > |
| 54 | <LinearLayout |
| 55 | android:layout_width="wrap_content" |
| 56 | android:layout_height="wrap_content" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 57 | android:visibility="gone" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 58 | android:orientation="vertical" |
| 59 | /> |
| 60 | <LinearLayout |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 63 | android:visibility="gone" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 64 | android:orientation="vertical" |
| 65 | /> |
| 66 | <LinearLayout |
| 67 | android:layout_width="wrap_content" |
| 68 | android:layout_height="wrap_content" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 69 | android:visibility="gone" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 70 | android:orientation="vertical" |
| 71 | /> |
| 72 | </com.android.systemui.globalactions.ListGridLayout> |
| 73 | </LinearLayout> |
| 74 | |
| 75 | </com.android.systemui.globalactions.GlobalActionsGridLayout> |