Update to platforms;android-28.
[android_tools.git] / sdk / platforms / android-28 / data / res / layout / accessibility_button_chooser.xml
blob480defbd5935f01a38870b2b45b66a2c66a08a60
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 * Copyright 2017, The Android Open Source Project
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 *     http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 -->
19 <com.android.internal.widget.ResolverDrawerLayout
20     xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="match_parent"
22     android:layout_height="wrap_content"
23     android:maxWidth="@dimen/resolver_max_width"
24     android:maxCollapsedHeight="256dp"
25     android:maxCollapsedHeightSmall="56dp"
26     android:id="@id/contentPanel">
28     <LinearLayout
29         android:layout_width="match_parent"
30         android:layout_height="wrap_content"
31         android:layout_alwaysShow="true"
32         android:orientation="vertical"
33         android:background="?attr/colorBackground"
34         android:paddingTop="8dp"
35         android:paddingBottom="8dp"
36         android:paddingStart="?attr/dialogPreferredPadding"
37         android:paddingEnd="?attr/dialogPreferredPadding">
39         <TextView
40             android:layout_width="match_parent"
41             android:layout_height="wrap_content"
42             android:minHeight="56dp"
43             android:textAppearance="?attr/textAppearanceMedium"
44             android:text="@string/accessibility_button_prompt_text"
45             android:gravity="start|center_vertical"
46             android:layout_alignParentStart="true"
47             android:paddingTop="8dp"
48             android:paddingBottom="8dp"/>
50         <GridView
51             android:layout_width="match_parent"
52             android:layout_height="wrap_content"
53             android:id="@+id/accessibility_button_chooser_grid"
54             android:columnWidth="90dp"
55             android:numColumns="auto_fit"
56             android:verticalSpacing="10dp"
57             android:horizontalSpacing="10dp"
58             android:stretchMode="columnWidth"
59             android:gravity="center"/>
61         <TextView
62             android:layout_width="match_parent"
63             android:layout_height="wrap_content"
64             android:id="@+id/accessibility_button_prompt"
65             android:textAppearance="?attr/textAppearanceMedium"
66             android:text="@string/accessibility_button_instructional_text"
67             android:gravity="start|center_vertical"
68             android:paddingTop="8dp"
69             android:paddingBottom="8dp"
70             android:visibility="gone"/>
71     </LinearLayout>
72 </com.android.internal.widget.ResolverDrawerLayout>