1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 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:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:keepScreenOn="true" 22 android:orientation="vertical" 23 style="@style/RootLayoutPadding" 24 tools:ignore="Autofill"> 25 26 <ScrollView 27 android:layout_width="fill_parent" 28 android:layout_height="wrap_content"> 29 30 <LinearLayout 31 android:orientation="vertical" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content"> 34 35 <TextView 36 android:text="@string/nan_accuracy_test_instructions" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:scrollbars="vertical"/> 40 41 <CheckBox 42 android:id="@+id/is_reference_device" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/is_reference_device_checkbox_text"/> 46 47 <LinearLayout 48 android:id="@+id/dut_mode_layout" 49 android:orientation="vertical" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content"> 52 53 <CheckBox 54 android:id="@+id/is_manual_pass" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:text="@string/is_manual_pass_text"/> 58 59 <TextView 60 android:id="@+id/test_distance_radio_group_description" 61 android:layout_height="wrap_content" 62 android:layout_width="wrap_content" 63 android:text="@string/select_test_distance_presence"/> 64 65 <RadioGroup 66 android:id="@+id/test_distance_radio_group" 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:checkedButton="@id/distance_10cm" 70 android:orientation="horizontal"> 71 72 <RadioButton 73 android:id="@+id/distance_10cm" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:text="@string/distance_10cm_presence"/> 77 78 <RadioButton 79 android:id="@+id/distance_1m" 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:text="@string/distance_1m_presence"/> 83 84 <RadioButton 85 android:id="@+id/distance_3m" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:text="@string/distance_3m_presence"/> 89 90 <RadioButton 91 android:id="@+id/distance_5m" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 android:text="@string/distance_5m_presence"/> 95 </RadioGroup> 96 97 <LinearLayout 98 android:id="@+id/start_stop_layout" 99 android:orientation="horizontal" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content"> 102 103 <Button 104 android:id="@+id/start_test" 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:text="@string/start_test_presence"/> 108 109 <Button 110 android:id="@+id/stop_test" 111 android:layout_width="wrap_content" 112 android:layout_height="wrap_content" 113 android:text="@string/stop_test_presence"/> 114 </LinearLayout> 115 116 <EditText 117 android:id="@+id/service_id_input" 118 android:layout_width="wrap_content" 119 android:layout_height="wrap_content" 120 android:inputType="numberDecimal|numberSigned" 121 android:hint="@string/service_id_input_presence"/> 122 123 <TextView 124 android:id="@+id/device_found_info" 125 android:layout_width="wrap_content" 126 android:layout_height="wrap_content" 127 android:text="@string/device_found_presence"/> 128 129 <TextView 130 android:id="@+id/test_status_info" 131 android:layout_width="wrap_content" 132 android:layout_height="wrap_content"/> 133 134 </LinearLayout> 135 <LinearLayout 136 android:id="@+id/ref_mode_layout" 137 android:orientation="vertical" 138 android:layout_width="match_parent" 139 android:layout_height="wrap_content"> 140 141 <Button 142 android:id="@+id/start_publishing" 143 android:layout_width="wrap_content" 144 android:layout_height="wrap_content" 145 android:text="@string/start_publishing_presence"/> 146 147 <Button 148 android:id="@+id/stop_publishing" 149 android:layout_width="wrap_content" 150 android:layout_height="wrap_content" 151 android:text="@string/stop_publishing_presence"/> 152 153 <TextView 154 android:id="@+id/service_id_info" 155 android:layout_width="wrap_content" 156 android:layout_height="wrap_content" 157 android:text="@string/service_id_info_presence"/> 158 </LinearLayout> 159 160 <include 161 android:layout_width="match_parent" 162 android:layout_height="wrap_content" 163 layout="@layout/pass_fail_buttons"/> 164 165 </LinearLayout> 166 </ScrollView> 167</RelativeLayout>