blob: e028214532f05bcc69591d62457ff10ce16e7325 [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|left"
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="bottom|left"
17 android:padding="0dp"
18 android:orientation="vertical"
19 android:layout_marginLeft="@dimen/global_actions_grid_container_bottom_margin"
20 >
21 <!-- For separated items-->
22 <LinearLayout
23 android:id="@+id/separated_button"
24 android:layout_gravity="top|left"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050025 android:layout_width="match_parent"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050026 android:layout_height="wrap_content"
27 android:layout_marginTop="@dimen/global_actions_grid_side_margin"
28 android:layout_marginBottom="@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 Heuckroth75e249f2019-02-01 15:59:57 -050033 android:orientation="horizontal"
34 android:layoutDirection="rtl"
35 android:background="?android:attr/colorBackgroundFloating"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050036 android:gravity="center"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050037 android:translationZ="@dimen/global_actions_translate"
38 />
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050039 <!-- Grid of action items -->
40 <com.android.systemui.globalactions.ListGridLayout
41 android:id="@android:id/list"
42 android:layout_gravity="bottom|left"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050043 android:gravity="right"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050044 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:orientation="vertical"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050047 android:layout_marginBottom="@dimen/global_actions_grid_side_margin"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050048 android:translationZ="@dimen/global_actions_translate"
Aaron Heuckroth4ea2fdb2019-02-14 16:28:35 -050049 android:paddingLeft="@dimen/global_actions_grid_horizontal_padding"
50 android:paddingRight="@dimen/global_actions_grid_horizontal_padding"
51 android:paddingTop="@dimen/global_actions_grid_vertical_padding"
52 android:paddingBottom="@dimen/global_actions_grid_vertical_padding"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050053 android:background="?android:attr/colorBackgroundFloating"
54 >
55 <LinearLayout
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050056 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050059 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050060 />
61 <LinearLayout
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050062 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050065 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050066 />
67 <LinearLayout
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050068 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:visibility="gone"
Aaron Heuckrotheeda8be2019-03-04 11:01:05 -050071 android:layoutDirection="locale"
Aaron Heuckroth75e249f2019-02-01 15:59:57 -050072 />
73 </com.android.systemui.globalactions.ListGridLayout>
74 </LinearLayout>
75
76</com.android.systemui.globalactions.GlobalActionsGridLayout>