1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17
18<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/root"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:orientation="vertical">
24
25    <androidx.appcompat.widget.Toolbar
26        android:id="@+id/toolbar"
27        android:layout_width="match_parent"
28        android:layout_height="?attr/actionBarSize"
29    />
30
31    <ScrollView
32        android:layout_width="match_parent"
33        android:layout_height="match_parent"
34        android:paddingStart="8dp"
35        android:paddingEnd="8dp">
36
37        <LinearLayout
38            android:id="@+id/content"
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:orientation="vertical">
42
43            <Spinner
44                android:id="@+id/spinnerBehavior"
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:layout_marginTop="10dp"
48                android:layout_marginBottom="20dp" />
49
50            <ToggleButton
51                android:id="@+id/toggleButtonStatus"
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54                android:checked="true"
55                android:text="@string/status_bars_toggle_button"
56                android:textOff="@string/status_bars_invisible"
57                android:textOn="@string/status_bars_visible" />
58
59            <SeekBar
60                android:id="@+id/seekBarStatus"
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                android:layout_marginTop="10dp"
64                android:layout_marginBottom="20dp"
65                android:max="10000"
66                android:progress="10000" />
67
68            <ToggleButton
69                android:id="@+id/toggleButtonNavigation"
70                android:layout_width="match_parent"
71                android:layout_height="wrap_content"
72                android:checked="true"
73                android:text="@string/navigation_bars_toggle_button"
74                android:textOff="@string/navigation_bars_invisible"
75                android:textOn="@string/navigation_bars_visible" />
76
77            <SeekBar
78                android:id="@+id/seekBarNavigation"
79                android:layout_width="match_parent"
80                android:layout_height="wrap_content"
81                android:layout_marginTop="10dp"
82                android:layout_marginBottom="20dp"
83                android:max="10000"
84                android:progress="10000" />
85
86            <ToggleButton
87                android:id="@+id/toggleButtonIme"
88                android:layout_width="match_parent"
89                android:layout_height="wrap_content"
90                android:checked="true"
91                android:text="@string/ime_toggle_button"
92                android:textOff="@string/ime_invisible"
93                android:textOn="@string/ime_visible" />
94
95            <SeekBar
96                android:id="@+id/seekBarIme"
97                android:layout_width="match_parent"
98                android:layout_height="wrap_content"
99                android:layout_marginTop="10dp"
100                android:layout_marginBottom="20dp"
101                android:max="10000"
102                android:progress="0" />
103
104            <TextView
105                android:id="@+id/textViewControllableInsets"
106                android:layout_width="match_parent"
107                android:layout_height="wrap_content"
108                android:layout_margin="5dp" />
109
110            <EditText
111                android:id="@+id/editText"
112                android:layout_width="wrap_content"
113                android:layout_height="wrap_content"
114                android:ems="10"
115                android:autofillHints="@string/for_testing_ime"
116                android:hint="@string/for_testing_ime"
117                android:inputType="text"
118                android:text="" />
119
120        </LinearLayout>
121
122    </ScrollView>
123
124</LinearLayout>
125