blob: 7d45de3fa50db20514ae230ce290fcbd2917db87 [file] [log] [blame]
Matt Pietalfd3b6cb2020-01-08 09:43:54 -05001<?xml version="1.0" encoding="utf-8"?>
Aran Ink06090262020-03-03 13:23:17 -05002<LinearLayout
Matt Pietalfd3b6cb2020-01-08 09:43:54 -05003 xmlns:android="http://schemas.android.com/apk/res/android"
Sean Pontd7ff85a2020-05-18 21:47:08 -07004 xmlns:app="http://schemas.android.com/apk/res-auto"
Aran Ink780d4502020-02-14 10:39:58 -05005 android:id="@+id/global_actions_container"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -05006 android:layout_width="match_parent"
Aran Ink06090262020-03-03 13:23:17 -05007 android:layout_height="match_parent"
8 android:orientation="vertical"
9>
10 <com.android.systemui.globalactions.GlobalActionsFlatLayout
11 android:id="@id/global_actions_view"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050012 android:layout_width="match_parent"
Aran Ink06090262020-03-03 13:23:17 -050013 android:layout_height="wrap_content"
14 android:orientation="horizontal"
15 android:theme="@style/qs_theme"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050016 android:clipChildren="false"
17 android:clipToPadding="false"
Aran Ink7c8fea92020-04-17 14:40:14 -040018 android:layout_marginStart="@dimen/global_actions_side_margin"
Aran Ink06090262020-03-03 13:23:17 -050019 >
20 <LinearLayout
21 android:id="@android:id/list"
Lucas Dupincb6726f2020-04-07 19:32:38 -070022 android:layout_width="match_parent"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050023 android:layout_height="wrap_content"
Aran Ink06090262020-03-03 13:23:17 -050024 android:paddingTop="@dimen/global_actions_grid_vertical_padding"
25 android:paddingBottom="@dimen/global_actions_grid_vertical_padding"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050026 android:orientation="horizontal"
Aran Inkcf038272020-03-31 17:48:37 -040027 android:gravity="left | center_vertical"
Aran Ink06090262020-03-03 13:23:17 -050028 android:translationZ="@dimen/global_actions_translate"
Aran Inkcf038272020-03-31 17:48:37 -040029 >
30 <RelativeLayout
31 android:id="@+id/global_actions_overflow_button"
Aran Ink10cdb4b2020-04-27 16:22:19 -040032 android:contentDescription="@string/accessibility_menu"
Aran Inkcf038272020-03-31 17:48:37 -040033 android:layout_width="48dp"
34 android:layout_height="48dp"
35 >
36 <ImageView
37 android:src="@drawable/ic_more_vert"
38 android:layout_centerInParent="true"
39 android:layout_width="24dp"
40 android:layout_height="24dp"
41 android:tint="@color/control_more_vert"
42 />
43 </RelativeLayout>
44 </LinearLayout>
Aran Ink06090262020-03-03 13:23:17 -050045 </com.android.systemui.globalactions.GlobalActionsFlatLayout>
46
Sean Pontd7ff85a2020-05-18 21:47:08 -070047 <androidx.constraintlayout.widget.ConstraintLayout
48 android:id="@+id/global_actions_lock_message_container"
49 android:layout_width="match_parent"
50 android:layout_height="match_parent"
51 android:visibility="gone">
52 <TextView
53 android:id="@+id/global_actions_lock_message"
54 style="@style/TextAppearance.Control.Title"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:layout_marginHorizontal="@dimen/global_actions_side_margin"
58 android:drawablePadding="12dp"
59 android:gravity="center"
60 android:text="@string/global_action_lock_message"
61 app:layout_constraintBottom_toBottomOf="parent"
62 app:layout_constraintTop_toTopOf="parent"
63 app:layout_constraintVertical_bias="0.35"/>
64 </androidx.constraintlayout.widget.ConstraintLayout>
65
Aran Ink06090262020-03-03 13:23:17 -050066 <com.android.systemui.globalactions.MinHeightScrollView
Aran Inkcf038272020-03-31 17:48:37 -040067 android:layout_width="match_parent"
68 android:layout_height="match_parent"
Aran Inkcf038272020-03-31 17:48:37 -040069 android:orientation="vertical"
Sean Pontd7ff85a2020-05-18 21:47:08 -070070 android:scrollbars="none">
71
Aran Ink06090262020-03-03 13:23:17 -050072 <LinearLayout
73 android:id="@+id/global_actions_grid_root"
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050076 android:clipChildren="false"
Aran Ink06090262020-03-03 13:23:17 -050077 android:orientation="vertical"
Sean Pontd7ff85a2020-05-18 21:47:08 -070078 android:clipToPadding="false">
79
80 <FrameLayout
81 android:id="@+id/global_actions_wallet"
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050082 android:layout_width="match_parent"
Sean Pontd7ff85a2020-05-18 21:47:08 -070083 android:layout_height="wrap_content"/>
Matt Pietalfd3b6cb2020-01-08 09:43:54 -050084
Aran Ink06090262020-03-03 13:23:17 -050085 <LinearLayout
86 android:id="@+id/global_actions_controls"
87 android:layout_width="match_parent"
88 android:layout_height="wrap_content"
Sean Pontd7ff85a2020-05-18 21:47:08 -070089 android:orientation="vertical"/>
90
Aran Ink06090262020-03-03 13:23:17 -050091 </LinearLayout>
92 </com.android.systemui.globalactions.MinHeightScrollView>
Matt Pietal5f478c72020-04-01 15:53:54 -040093</LinearLayout>