xref: /aosp_15_r20/cts/tests/accessibilityservice/res/layout/accessibility_text_traversal_test.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2012, The Android Open Source Project
5**
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
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
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.
17*/
18-->
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:orientation="vertical"
21    android:fitsSystemWindows="true"
22    android:layout_width="fill_parent"
23    android:layout_height="wrap_content"
24    android:id="@+id/viewGroup"
25    >
26
27   <View
28       android:id="@+id/view"
29       android:layout_width="50dip"
30       android:layout_height="50dip"
31       android:visibility="gone"
32       />
33
34   <TextView
35       android:id="@+id/text"
36       android:layout_width="80dip"
37       android:layout_height="80dip"
38       android:includeFontPadding="false"
39       android:textSize="10dip"
40       android:textStyle="normal"
41       android:fontFamily="sans-serif"
42       android:visibility="gone"
43       />
44
45   <EditText
46       android:id="@+id/edit"
47       android:layout_width="80dip"
48       android:layout_height="80dip"
49       android:maxLines="1000"
50       android:scrollbars="vertical"
51       android:focusable="false"
52       android:includeFontPadding="false"
53       android:textSize="10dip"
54       android:textStyle="normal"
55       android:lineSpacingExtra="20dp"
56       android:lineSpacingMultiplier="0.0"
57       android:fontFamily="sans-serif"
58       android:background="@null"
59       android:visibility="gone"
60       />
61
62    <EditText
63        android:id="@+id/editText"
64        android:singleLine="true"
65        android:layout_width="match_parent"
66        android:layout_height="wrap_content"
67    />
68
69    <TextView
70        android:id="@+id/selectableText"
71        android:textIsSelectable="true"
72        android:text="selectable text"
73        android:singleLine="true"
74        android:layout_width="match_parent"
75        android:layout_height="wrap_content"
76    />
77
78</LinearLayout>
79