xref: /aosp_15_r20/cts/apps/CtsVerifier/res/layout-small-dpad/widget_layout.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2018 The Android Open Source Project
3*b7c941bbSAndroid Build Coastguard Worker
4*b7c941bbSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*b7c941bbSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*b7c941bbSAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*b7c941bbSAndroid Build Coastguard Worker
8*b7c941bbSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*b7c941bbSAndroid Build Coastguard Worker
10*b7c941bbSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*b7c941bbSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*b7c941bbSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*b7c941bbSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*b7c941bbSAndroid Build Coastguard Worker     limitations under the License.
15*b7c941bbSAndroid Build Coastguard Worker-->
16*b7c941bbSAndroid Build Coastguard Worker<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
17*b7c941bbSAndroid Build Coastguard Worker    android:layout_width="match_parent"
18*b7c941bbSAndroid Build Coastguard Worker    android:layout_height="match_parent"
19*b7c941bbSAndroid Build Coastguard Worker    android:layout_marginTop="@dimen/widget_margin_top"
20*b7c941bbSAndroid Build Coastguard Worker    android:layout_marginBottom="@dimen/widget_margin_bottom"
21*b7c941bbSAndroid Build Coastguard Worker    android:layout_marginLeft="@dimen/widget_margin_left"
22*b7c941bbSAndroid Build Coastguard Worker    android:layout_marginRight="@dimen/widget_margin_right"
23*b7c941bbSAndroid Build Coastguard Worker    android:padding="1dp"
24*b7c941bbSAndroid Build Coastguard Worker    android:background="#fff">
25*b7c941bbSAndroid Build Coastguard Worker
26*b7c941bbSAndroid Build Coastguard Worker    <LinearLayout
27*b7c941bbSAndroid Build Coastguard Worker        android:orientation="vertical"
28*b7c941bbSAndroid Build Coastguard Worker        android:layout_width="match_parent"
29*b7c941bbSAndroid Build Coastguard Worker        android:layout_height="match_parent"
30*b7c941bbSAndroid Build Coastguard Worker        android:paddingLeft="4dp"
31*b7c941bbSAndroid Build Coastguard Worker        android:paddingTop="4dp"
32*b7c941bbSAndroid Build Coastguard Worker        android:paddingBottom="4dp"
33*b7c941bbSAndroid Build Coastguard Worker        android:paddingRight="4dp"
34*b7c941bbSAndroid Build Coastguard Worker        android:layout_gravity="center"
35*b7c941bbSAndroid Build Coastguard Worker        android:background="#fff">
36*b7c941bbSAndroid Build Coastguard Worker
37*b7c941bbSAndroid Build Coastguard Worker        <TextView
38*b7c941bbSAndroid Build Coastguard Worker            android:id="@+id/title"
39*b7c941bbSAndroid Build Coastguard Worker            android:layout_width="match_parent"
40*b7c941bbSAndroid Build Coastguard Worker            android:layout_height="wrap_content"
41*b7c941bbSAndroid Build Coastguard Worker            android:gravity="top|left"
42*b7c941bbSAndroid Build Coastguard Worker            android:layout_marginBottom="8dp"
43*b7c941bbSAndroid Build Coastguard Worker            android:fontFamily="sans-serif"
44*b7c941bbSAndroid Build Coastguard Worker            android:textSize="16sp"
45*b7c941bbSAndroid Build Coastguard Worker            android:text="@string/widget_name"
46*b7c941bbSAndroid Build Coastguard Worker            android:freezesText="true"/>
47*b7c941bbSAndroid Build Coastguard Worker
48*b7c941bbSAndroid Build Coastguard Worker        <TextView
49*b7c941bbSAndroid Build Coastguard Worker            android:id="@+id/instruction"
50*b7c941bbSAndroid Build Coastguard Worker            android:layout_width="wrap_content"
51*b7c941bbSAndroid Build Coastguard Worker            android:layout_height="wrap_content"
52*b7c941bbSAndroid Build Coastguard Worker            android:layout_marginBottom="12dp"
53*b7c941bbSAndroid Build Coastguard Worker            android:fontFamily="sans-serif-light"
54*b7c941bbSAndroid Build Coastguard Worker            android:textSize="14sp"
55*b7c941bbSAndroid Build Coastguard Worker            android:freezesText="true"/>
56*b7c941bbSAndroid Build Coastguard Worker
57*b7c941bbSAndroid Build Coastguard Worker        <TextView
58*b7c941bbSAndroid Build Coastguard Worker            android:id="@+id/data"
59*b7c941bbSAndroid Build Coastguard Worker            android:layout_width="wrap_content"
60*b7c941bbSAndroid Build Coastguard Worker            android:layout_height="wrap_content"
61*b7c941bbSAndroid Build Coastguard Worker            android:layout_marginBottom="12dp"
62*b7c941bbSAndroid Build Coastguard Worker            android:layout_gravity="center_horizontal"
63*b7c941bbSAndroid Build Coastguard Worker            android:fontFamily="sans-serif-light"
64*b7c941bbSAndroid Build Coastguard Worker            android:textSize="14sp"/>
65*b7c941bbSAndroid Build Coastguard Worker
66*b7c941bbSAndroid Build Coastguard Worker        <ListView
67*b7c941bbSAndroid Build Coastguard Worker            android:id="@+id/list"
68*b7c941bbSAndroid Build Coastguard Worker            android:layout_width="match_parent"
69*b7c941bbSAndroid Build Coastguard Worker            android:layout_height="0dp"
70*b7c941bbSAndroid Build Coastguard Worker            android:layout_weight="1"
71*b7c941bbSAndroid Build Coastguard Worker            android:layout_marginBottom="12dp"
72*b7c941bbSAndroid Build Coastguard Worker            android:padding="1dp"
73*b7c941bbSAndroid Build Coastguard Worker            android:background="#fff"
74*b7c941bbSAndroid Build Coastguard Worker            android:visibility="gone"/>
75*b7c941bbSAndroid Build Coastguard Worker
76*b7c941bbSAndroid Build Coastguard Worker        <LinearLayout
77*b7c941bbSAndroid Build Coastguard Worker            android:layout_width="wrap_content"
78*b7c941bbSAndroid Build Coastguard Worker            android:layout_height="wrap_content"
79*b7c941bbSAndroid Build Coastguard Worker            android:layout_gravity="bottom|center_horizontal"
80*b7c941bbSAndroid Build Coastguard Worker            android:orientation="horizontal">
81*b7c941bbSAndroid Build Coastguard Worker            <Button
82*b7c941bbSAndroid Build Coastguard Worker                android:id="@+id/fail"
83*b7c941bbSAndroid Build Coastguard Worker                android:layout_marginRight="8dp"
84*b7c941bbSAndroid Build Coastguard Worker                android:layout_width="wrap_content"
85*b7c941bbSAndroid Build Coastguard Worker                android:layout_height="wrap_content"
86*b7c941bbSAndroid Build Coastguard Worker                android:minWidth="100dp"
87*b7c941bbSAndroid Build Coastguard Worker                android:text="@string/widget_fail" />
88*b7c941bbSAndroid Build Coastguard Worker            <Button
89*b7c941bbSAndroid Build Coastguard Worker                android:id="@+id/pass"
90*b7c941bbSAndroid Build Coastguard Worker                android:layout_width="wrap_content"
91*b7c941bbSAndroid Build Coastguard Worker                android:layout_height="wrap_content"
92*b7c941bbSAndroid Build Coastguard Worker                android:minWidth="100dp"
93*b7c941bbSAndroid Build Coastguard Worker                android:text="@string/widget_pass" />
94*b7c941bbSAndroid Build Coastguard Worker        </LinearLayout>
95*b7c941bbSAndroid Build Coastguard Worker
96*b7c941bbSAndroid Build Coastguard Worker    </LinearLayout>
97*b7c941bbSAndroid Build Coastguard Worker</FrameLayout>
98