Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 2 | <androidx.constraintlayout.widget.ConstraintLayout |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 4 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 | android:id="@+id/global_actions_grid_root" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 8 | android:clipChildren="false" |
Aran Ink | a2fb824 | 2019-05-14 15:49:00 -0400 | [diff] [blame] | 9 | android:clipToPadding="false" |
Aran Ink | a2fb824 | 2019-05-14 15:49:00 -0400 | [diff] [blame] | 10 | android:layout_marginBottom="@dimen/global_actions_grid_container_negative_shadow_offset" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 11 | > |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 12 | |
| 13 | <FrameLayout |
| 14 | android:id="@+id/global_actions_panel_container" |
| 15 | android:layout_width="match_parent" |
| 16 | android:layout_height="0dp" |
| 17 | app:layout_constraintTop_toTopOf="parent" |
| 18 | app:layout_constraintBottom_toTopOf="@id/global_actions_view" |
| 19 | /> |
| 20 | |
| 21 | <com.android.systemui.globalactions.GlobalActionsGridLayout |
| 22 | android:id="@id/global_actions_view" |
| 23 | android:layout_width="match_parent" |
Aaron Heuckroth | 75e249f | 2019-02-01 15:59:57 -0500 | [diff] [blame] | 24 | android:layout_height="wrap_content" |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 25 | android:orientation="horizontal" |
| 26 | android:theme="@style/qs_theme" |
| 27 | app:layout_constraintBottom_toBottomOf="parent" |
| 28 | app:layout_constraintLeft_toLeftOf="parent" |
| 29 | app:layout_constraintRight_toRightOf="parent" |
| 30 | android:gravity="bottom | center_horizontal" |
Aran Ink | a2fb824 | 2019-05-14 15:49:00 -0400 | [diff] [blame] | 31 | android:clipChildren="false" |
| 32 | android:clipToPadding="false" |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 33 | android:paddingBottom="@dimen/global_actions_grid_container_shadow_offset" |
| 34 | android:layout_marginBottom="@dimen/global_actions_grid_container_negative_shadow_offset" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 35 | > |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 36 | <LinearLayout |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 37 | android:layout_height="wrap_content" |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 38 | android:layout_width="wrap_content" |
| 39 | android:layoutDirection="ltr" |
| 40 | android:clipChildren="false" |
| 41 | android:clipToPadding="false" |
| 42 | android:layout_marginBottom="@dimen/global_actions_grid_container_bottom_margin" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 43 | > |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 44 | <!-- For separated items--> |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 45 | <LinearLayout |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 46 | android:id="@+id/separated_button" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="match_parent" |
| 49 | android:layout_marginLeft="@dimen/global_actions_grid_side_margin" |
| 50 | android:layout_marginRight="@dimen/global_actions_grid_side_margin" |
| 51 | android:paddingLeft="@dimen/global_actions_grid_horizontal_padding" |
| 52 | android:paddingRight="@dimen/global_actions_grid_horizontal_padding" |
| 53 | android:paddingTop="@dimen/global_actions_grid_vertical_padding" |
| 54 | android:paddingBottom="@dimen/global_actions_grid_vertical_padding" |
| 55 | android:orientation="vertical" |
| 56 | android:gravity="center" |
| 57 | android:translationZ="@dimen/global_actions_translate" |
| 58 | /> |
| 59 | <!-- Grid of action items --> |
| 60 | <com.android.systemui.globalactions.ListGridLayout |
| 61 | android:id="@android:id/list" |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 62 | android:layout_width="wrap_content" |
| 63 | android:layout_height="wrap_content" |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 64 | android:orientation="vertical" |
| 65 | android:gravity="right" |
| 66 | android:layout_marginRight="@dimen/global_actions_grid_side_margin" |
| 67 | android:translationZ="@dimen/global_actions_translate" |
| 68 | android:paddingLeft="@dimen/global_actions_grid_horizontal_padding" |
| 69 | android:paddingRight="@dimen/global_actions_grid_horizontal_padding" |
| 70 | android:paddingTop="@dimen/global_actions_grid_vertical_padding" |
| 71 | android:paddingBottom="@dimen/global_actions_grid_vertical_padding" |
| 72 | > |
| 73 | <LinearLayout |
| 74 | android:layout_width="wrap_content" |
| 75 | android:layout_height="wrap_content" |
| 76 | android:visibility="gone" |
| 77 | android:layoutDirection="locale" |
| 78 | /> |
| 79 | <LinearLayout |
| 80 | android:layout_width="wrap_content" |
| 81 | android:layout_height="wrap_content" |
| 82 | android:visibility="gone" |
| 83 | android:layoutDirection="locale" |
| 84 | /> |
| 85 | <LinearLayout |
| 86 | android:layout_width="wrap_content" |
| 87 | android:layout_height="wrap_content" |
| 88 | android:visibility="gone" |
| 89 | android:layoutDirection="locale" |
| 90 | /> |
| 91 | </com.android.systemui.globalactions.ListGridLayout> |
| 92 | </LinearLayout> |
Aaron Heuckroth | 166392f | 2019-01-17 16:50:59 -0500 | [diff] [blame] | 93 | |
Steve Elliott | 300b48f | 2019-05-29 14:13:50 -0400 | [diff] [blame] | 94 | </com.android.systemui.globalactions.GlobalActionsGridLayout> |
| 95 | </androidx.constraintlayout.widget.ConstraintLayout> |