• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2025 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:tools="http://schemas.android.com/tools"
19    android:fitsSystemWindows="@bool/fit_system_windows"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:keepScreenOn="true"
23    android:orientation="vertical"
24    style="@style/RootLayoutPadding"
25    tools:ignore="Autofill">
26
27    <ScrollView
28        android:layout_width="fill_parent"
29        android:layout_height="wrap_content">
30
31        <LinearLayout
32            android:orientation="vertical"
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content">
35
36            <TextView
37                android:text="@string/ble_cs_accuracy_test_instructions"
38                android:layout_width="wrap_content"
39                android:layout_height="wrap_content"
40                android:scrollbars="vertical"/>
41
42            <CheckBox
43                android:id="@+id/is_cs_reference_device"
44                android:layout_width="wrap_content"
45                android:layout_height="wrap_content"
46                android:text="@string/is_reference_device_checkbox_text"/>
47
48            <LinearLayout
49                android:id="@+id/cs_dut_mode_layout"
50                android:orientation="vertical"
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content">
53
54                <CheckBox
55                    android:id="@+id/is_cs_manual_pass"
56                    android:layout_width="wrap_content"
57                    android:layout_height="wrap_content"
58                    android:text="@string/is_manual_pass_text"/>
59
60                <LinearLayout
61                    android:id="@+id/cs_start_stop_layout"
62                    android:orientation="horizontal"
63                    android:layout_width="wrap_content"
64                    android:layout_height="wrap_content"
65                    style="?android:attr/buttonBarStyle">
66
67                    <Button
68                        android:id="@+id/cs_start_test"
69                        android:layout_width="wrap_content"
70                        android:layout_height="wrap_content"
71                        android:text="@string/start_test_presence"
72                        style="?android:attr/buttonBarButtonStyle"/>
73
74                    <Button
75                        android:id="@+id/cs_stop_test"
76                        android:layout_width="wrap_content"
77                        android:layout_height="wrap_content"
78                        android:text="@string/stop_test_presence"
79                        style="?android:attr/buttonBarButtonStyle"/>
80                </LinearLayout>
81
82                <TextView
83                    android:id="@+id/cs_test_status_info"
84                    android:layout_width="wrap_content"
85                    android:layout_height="wrap_content"/>
86
87            </LinearLayout>
88            <LinearLayout
89                android:id="@+id/cs_ref_mode_layout"
90                android:orientation="vertical"
91                android:layout_width="match_parent"
92                android:layout_height="wrap_content"
93                style="?android:attr/buttonBarStyle">
94
95                <Button
96                    android:id="@+id/cs_start_advertising"
97                    android:layout_width="wrap_content"
98                    android:layout_height="wrap_content"
99                    android:text="@string/start_advertising_presence"
100                    style="?android:attr/buttonBarButtonStyle"/>
101
102                <Button
103                    android:id="@+id/cs_stop_advertising"
104                    android:layout_width="wrap_content"
105                    android:layout_height="wrap_content"
106                    android:text="@string/stop_advertising_presence"
107                    style="?android:attr/buttonBarButtonStyle"/>
108
109            </LinearLayout>
110
111            <TextView
112                android:id="@+id/cs_device_found_info"
113                android:layout_width="wrap_content"
114                android:layout_height="wrap_content"
115                android:text="@string/device_found_presence"/>
116
117            <include
118                android:layout_width="match_parent"
119                android:layout_height="wrap_content"
120                layout="@layout/pass_fail_buttons"/>
121
122        </LinearLayout>
123    </ScrollView>
124</RelativeLayout>