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