• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2021 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent">
20
21    <LinearLayout
22        android:layout_width="match_parent"
23        android:layout_height="wrap_content"
24        android:orientation="vertical">
25
26        <LinearLayout
27            android:layout_width="match_parent"
28            android:layout_height="wrap_content"
29            android:orientation="vertical">
30
31            <LinearLayout
32                android:layout_width="match_parent"
33                android:layout_height="wrap_content"
34                android:orientation="vertical">
35
36                <TextView
37                    android:id="@+id/instructions"
38                    style="@style/InstructionsSmallFont"
39                    android:layout_width="match_parent"
40                    android:layout_height="wrap_content"
41                    android:layout_alignParentRight="true"
42                    android:layout_alignParentTop="true"
43                    android:layout_toRightOf="@id/status"
44                    android:text="@string/companion_service_test_info" />
45
46                <LinearLayout
47                    android:layout_width="match_parent"
48                    android:layout_height="wrap_content"
49                    android:orientation="horizontal"
50                    android:layout_marginLeft="10dp">
51                    <Button
52                        android:id="@+id/go_button"
53                        android:layout_width="match_parent"
54                        android:layout_height="wrap_content"
55                        android:layout_alignParentRight="true"
56                        android:layout_marginLeft="20dip"
57                        android:layout_marginRight="20dip"
58                        android:layout_toRightOf="@id/status"
59                        android:text="@string/go_button_text" />
60                </LinearLayout>
61            </LinearLayout>
62
63            <TextView
64                android:id="@+id/gone_info"
65                style="@style/InstructionsSmallFont"
66                android:layout_width="match_parent"
67                android:layout_height="wrap_content"
68                android:layout_alignParentRight="true"
69                android:layout_alignParentTop="true"
70                android:layout_toRightOf="@id/status"
71                android:layout_below="@id/go_button"
72                android:text="@string/companion_service_test_gone_text" />
73
74            <LinearLayout
75                android:layout_width="match_parent"
76                android:layout_height="wrap_content"
77                android:orientation="horizontal"
78                android:layout_marginLeft="10dp">
79                <Button
80                    android:id="@+id/gone_button"
81                    android:layout_width="match_parent"
82                    android:layout_height="wrap_content"
83                    android:layout_alignParentRight="true"
84                    android:layout_marginLeft="20dip"
85                    android:layout_marginRight="20dip"
86                    android:layout_toRightOf="@id/status"
87                    android:text="@string/gone_button_text" />
88            </LinearLayout>
89
90            <TextView
91                android:id="@+id/present_info"
92                style="@style/InstructionsSmallFont"
93                android:layout_width="match_parent"
94                android:layout_height="wrap_content"
95                android:layout_alignParentRight="true"
96                android:layout_alignParentTop="true"
97                android:layout_toRightOf="@id/status"
98                android:layout_below="@id/gone_button"
99                android:text="@string/companion_service_test_present_text" />
100
101            <LinearLayout
102                android:layout_width="match_parent"
103                android:layout_height="wrap_content"
104                android:orientation="horizontal"
105                android:layout_marginLeft="10dp">
106                <Button
107                    android:id="@+id/present_button"
108                    android:layout_width="match_parent"
109                    android:layout_height="wrap_content"
110                    android:layout_alignParentRight="true"
111                    android:layout_marginLeft="20dip"
112                    android:layout_marginRight="20dip"
113                    android:layout_toRightOf="@id/status"
114                    android:text="@string/present_button_text" />
115            </LinearLayout>
116
117        </LinearLayout>
118        <include layout="@layout/pass_fail_buttons" />
119    </LinearLayout>
120</ScrollView>
121