blob: 235d0fc62e2d5aeeb5b0e9dd63f6700b7f40e3cd [file] [log] [blame]
Aaron Heuckroth75e249f2019-02-01 15:59:57 -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="top|right"
11 android:clipChildren="false"
12>
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050013 <LinearLayout
14 android:layout_height="match_parent"
15 android:layout_width="wrap_content"
16 android:gravity="top|right"
17 android:padding="0dp"
18 android:orientation="vertical"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050019 android:layout_marginRight="@dimen/global_actions_grid_container_bottom_margin"
20 >
21 <!-- Grid of action items -->
22 <com.android.systemui.globalactions.ListGridLayout
23 android:id="@android:id/list"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:orientation="vertical"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050027 android:layout_marginTop="@dimen/global_actions_grid_side_margin"
28 android:translationZ="@dimen/global_actions_translate"
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 Heuckroth75e249f2019-02-01 15:59:57 -050033 android:background="?android:attr/colorBackgroundFloating"
34 >
35 <LinearLayout
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050039 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050040 />
41 <LinearLayout
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050045 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050046 />
47 <LinearLayout
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050051 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050052 />
53 </com.android.systemui.globalactions.ListGridLayout>
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050054 <!-- For separated items-->
55 <LinearLayout
56 android:id="@+id/separated_button"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050057 android:layout_width="match_parent"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050058 android:layout_height="wrap_content"
59 android:layout_marginTop="@dimen/global_actions_grid_side_margin"
60 android:layout_marginBottom="@dimen/global_actions_grid_side_margin"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050061 android:paddingLeft="@dimen/global_actions_grid_horizontal_padding"
62 android:paddingRight="@dimen/global_actions_grid_horizontal_padding"
63 android:paddingTop="@dimen/global_actions_grid_vertical_padding"
64 android:paddingBottom="@dimen/global_actions_grid_vertical_padding"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050065 android:orientation="horizontal"
66 android:layoutDirection="ltr"
67 android:background="?android:attr/colorBackgroundFloating"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050068 android:gravity="center"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050069 android:translationZ="@dimen/global_actions_translate"
70 />
71
72 </LinearLayout>
73
74</com.android.systemui.globalactions.GlobalActionsGridLayout>