1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- Copyright (C) 2010 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:gravity="center" 22 android:orientation="vertical"> 23 24 <ListView android:id="@+id/listview" 25 android:layout_width="fill_parent" 26 android:layout_height="wrap_content"> 27 </ListView> 28 29 <EditText android:id="@+id/edittext" 30 android:text="@string/text_input_blah" 31 android:layout_height="wrap_content" 32 android:accessibilityHeading="true" 33 android:layout_width="fill_parent" 34 android:accessibilityTraversalAfter="@+id/buttonWithTooltip"> 35 </EditText> 36 37 <LinearLayout android:id="@+id/containerView" 38 android:contentDescription="@string/container_desc" 39 android:layout_width="fill_parent" 40 android:layout_height="wrap_content" 41 android:gravity="center"> 42 <LinearLayout android:id="@+id/adsView" 43 android:contentDescription="@string/ads_desc" 44 android:accessibilityDataSensitive="yes" 45 android:layout_width="fill_parent" 46 android:layout_height="wrap_content" 47 android:gravity="center"> 48 <LinearLayout android:id="@+id/innerContainerView" 49 android:contentDescription="@string/inner_container_desc" 50 android:layout_width="fill_parent" 51 android:layout_height="wrap_content" 52 android:gravity="center"> 53 <Button android:id="@+id/innerView" 54 android:contentDescription="@string/inner_desc" 55 android:text="@string/inner_title" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_marginRight="60dp" 59 android:bufferType="normal"> 60 </Button> 61 </LinearLayout> 62 </LinearLayout> 63 </LinearLayout> 64 65 <LinearLayout android:id="@+id/buttonLayout" 66 android:layout_width="fill_parent" 67 android:layout_height="wrap_content" 68 android:gravity="center"> 69 <Button android:id="@+id/button" 70 android:text="@string/button_title" 71 android:accessibilityPaneTitle="@string/paneTitle" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:layout_marginRight="60dp" 75 android:bufferType="normal"> 76 </Button> 77 <Button android:id="@id/buttonWithTooltip" 78 android:text="@string/button_title" 79 android:tooltipText="@string/button_tooltip" 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:bufferType="normal" 83 android:accessibilityTraversalBefore="@id/edittext"> 84 </Button> 85 </LinearLayout> 86 87 <LinearLayout android:layout_width="fill_parent" 88 android:layout_height="wrap_content" 89 android:gravity="center"> 90 <TextView android:id="@+id/delegateText" 91 android:text="@string/text_input_blah" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content"> 94 </TextView> 95 <Button android:id="@+id/buttonDelegated" 96 android:text="@string/button_title" 97 android:layout_width="wrap_content" 98 android:layout_height="wrap_content"> 99 </Button> 100 </LinearLayout> 101 102 103 <LinearLayout android:id="@+id/autoImportantLinearLayout" 104 android:layout_width="fill_parent" 105 android:layout_height="wrap_content" 106 android:gravity="center"> 107 </LinearLayout> 108 <android.accessibilityservice.cts.utils.ProviderCustomView 109 android:id="@+id/autoImportantProviderView" 110 android:layout_width="fill_parent" 111 android:layout_height="wrap_content"> 112 </android.accessibilityservice.cts.utils.ProviderCustomView> 113</LinearLayout> 114