blob: 456553d404dc144eb9f0abbe5feb2995b050aaa2 [file] [log] [blame]
Aaron Heuckroth166392f2019-01-17 16:50:59 -05001<?xml version="1.0" encoding="utf-8"?>
Steve Elliott300b48f2019-05-29 14:13:50 -04002<androidx.constraintlayout.widget.ConstraintLayout
Aaron Heuckroth166392f2019-01-17 16:50:59 -05003 xmlns:android="http://schemas.android.com/apk/res/android"
Steve Elliott300b48f2019-05-29 14:13:50 -04004 xmlns:app="http://schemas.android.com/apk/res-auto"
5 android:id="@+id/global_actions_grid_root"
Aaron Heuckroth166392f2019-01-17 16:50:59 -05006 android:layout_width="match_parent"
7 android:layout_height="match_parent"
Aaron Heuckroth166392f2019-01-17 16:50:59 -05008 android:clipChildren="false"
Aran Inka2fb8242019-05-14 15:49:00 -04009 android:clipToPadding="false"
Aran Inka2fb8242019-05-14 15:49:00 -040010 android:layout_marginBottom="@dimen/global_actions_grid_container_negative_shadow_offset"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050011>
Steve Elliott300b48f2019-05-29 14:13:50 -040012
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 Heuckroth75e249f2019-02-01 15:59:57 -050024 android:layout_height="wrap_content"
Steve Elliott300b48f2019-05-29 14:13:50 -040025 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 Inka2fb8242019-05-14 15:49:00 -040031 android:clipChildren="false"
32 android:clipToPadding="false"
Steve Elliott300b48f2019-05-29 14:13:50 -040033 android:paddingBottom="@dimen/global_actions_grid_container_shadow_offset"
34 android:layout_marginBottom="@dimen/global_actions_grid_container_negative_shadow_offset"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050035 >
Aaron Heuckroth166392f2019-01-17 16:50:59 -050036 <LinearLayout
Aaron Heuckroth166392f2019-01-17 16:50:59 -050037 android:layout_height="wrap_content"
Steve Elliott300b48f2019-05-29 14:13:50 -040038 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 Heuckroth166392f2019-01-17 16:50:59 -050043 >
Steve Elliott300b48f2019-05-29 14:13:50 -040044 <!-- For separated items-->
Aaron Heuckroth166392f2019-01-17 16:50:59 -050045 <LinearLayout
Steve Elliott300b48f2019-05-29 14:13:50 -040046 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 Heuckroth166392f2019-01-17 16:50:59 -050062 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
Steve Elliott300b48f2019-05-29 14:13:50 -040064 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 Heuckroth166392f2019-01-17 16:50:59 -050093
Steve Elliott300b48f2019-05-29 14:13:50 -040094 </com.android.systemui.globalactions.GlobalActionsGridLayout>
95</androidx.constraintlayout.widget.ConstraintLayout>