blob: 729e96ebc22e3069b166515f95b80fe5251c2afd [file] [log] [blame]
Aaron Heuckroth166392f2019-01-17 16:50:59 -05001<?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 Heuckroth75e249f2019-02-01 15:59:57 -050015 android:layout_height="wrap_content"
16 android:layout_width="match_parent"
17 android:gravity="bottom | right"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050018 android:padding="0dp"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050019 android:layoutDirection="ltr"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050020 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 Heuckroth4ea2fdb2019-02-14 16:28:35 -050026 android:layout_height="match_parent"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050027 android:layout_marginLeft="@dimen/global_actions_grid_side_margin"
28 android:layout_marginRight="@dimen/global_actions_grid_side_margin"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050029 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 Heuckroth166392f2019-01-17 16:50:59 -050033 android:orientation="vertical"
34 android:background="?android:attr/colorBackgroundFloating"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050035 android:gravity="center"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050036 android:translationZ="@dimen/global_actions_translate"
37 />
38
Aaron Heuckroth166392f2019-01-17 16:50:59 -050039 <!-- 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 Heuckroth166392f2019-01-17 16:50:59 -050044 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 Heuckroth4ea2fdb2019-02-14 16:28:35 -050048 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 Heuckroth166392f2019-01-17 16:50:59 -050052 android:background="?android:attr/colorBackgroundFloating"
53 >
54 <LinearLayout
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050057 android:visibility="gone"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050058 android:orientation="vertical"
59 />
60 <LinearLayout
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050063 android:visibility="gone"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050064 android:orientation="vertical"
65 />
66 <LinearLayout
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050069 android:visibility="gone"
Aaron Heuckroth166392f2019-01-17 16:50:59 -050070 android:orientation="vertical"
71 />
72 </com.android.systemui.globalactions.ListGridLayout>
73 </LinearLayout>
74
75</com.android.systemui.globalactions.GlobalActionsGridLayout>