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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent"> 21 22 <LinearLayout 23 android:id="@+id/content" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:orientation="vertical"> 27 28 <Spinner 29 android:id="@+id/spinnerBehavior" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:layout_marginTop="10dp" 33 android:layout_marginBottom="20dp" /> 34 35 <ToggleButton 36 android:id="@+id/toggleButtonStatus" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:checked="true" 40 android:text="Status Bars Toggle Button" 41 android:textOff="Status Bars Invisible" 42 android:textOn="Status Bars Visible" /> 43 44 <SeekBar 45 android:id="@+id/seekBarStatus" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:layout_marginTop="10dp" 49 android:layout_marginBottom="20dp" 50 android:max="10000" 51 android:progress="10000" /> 52 53 <ToggleButton 54 android:id="@+id/toggleButtonNavigation" 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:checked="true" 58 android:text="Navigation Bars Toggle Button" 59 android:textOff="Navigation Bars Invisible" 60 android:textOn="Navigation Bars Visible" /> 61 62 <SeekBar 63 android:id="@+id/seekBarNavigation" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" 66 android:layout_marginTop="10dp" 67 android:layout_marginBottom="20dp" 68 android:max="10000" 69 android:progress="10000" /> 70 71 <ToggleButton 72 android:id="@+id/toggleButtonIme" 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:checked="true" 76 android:text="IME Toggle Button" 77 android:textOff="IME Invisible" 78 android:textOn="IME Visible" /> 79 80 <SeekBar 81 android:id="@+id/seekBarIme" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:layout_marginTop="10dp" 85 android:layout_marginBottom="20dp" 86 android:max="10000" 87 android:progress="0" /> 88 89 <TextView 90 android:id="@+id/textViewControllableInsets" 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:layout_margin="5dp" /> 94 95 <EditText 96 android:id="@+id/editText" 97 android:layout_width="wrap_content" 98 android:layout_height="wrap_content" 99 android:ems="10" 100 android:hint="For testing IME..." 101 android:inputType="text" 102 android:text="" /> 103 104 </LinearLayout> 105 106</ScrollView>