1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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="true" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical" 23 android:keepScreenOn="true" 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_rx_tx_offset_precision_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_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 <CheckBox 49 android:id="@+id/use_extended_advertisement" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 android:text="@string/use_extended_advertisement_text"/> 53 54 <EditText 55 android:id="@+id/tx_power_input" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:inputType="numberSigned" 59 android:hint="@string/tx_power_input_presence" 60 android:visibility="gone"/> 61 62 <LinearLayout 63 android:id="@+id/dut_mode_layout" 64 android:orientation="vertical" 65 android:layout_width="match_parent" 66 android:layout_height="wrap_content"> 67 68 <CheckBox 69 android:id="@+id/is_manual_pass" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:text="@string/is_manual_pass_text"/> 73 74 <Button 75 android:id="@+id/start_test" 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:text="@string/start_test_presence"/> 79 80 <Button 81 android:id="@+id/stop_test" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:text="@string/stop_test_presence"/> 85 86 <TextView 87 android:id="@+id/device_found_info" 88 android:layout_width="wrap_content" 89 android:layout_height="wrap_content" 90 android:text="@string/device_found_presence"/> 91 92 <TextView 93 android:id="@+id/dut_test_result_info" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:text="@string/dut_test_result_info_presence"/> 97 98 <EditText 99 android:id="@+id/ref_device_id_input" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:inputType="numberDecimal|numberSigned" 103 android:hint="@string/reference_device_id_input_presence"/> 104 </LinearLayout> 105 106 <LinearLayout 107 android:id="@+id/ref_mode_layout" 108 android:orientation="vertical" 109 android:layout_width="match_parent" 110 android:layout_height="wrap_content"> 111 112 <Button 113 android:id="@+id/start_advertising" 114 android:layout_width="wrap_content" 115 android:layout_height="wrap_content" 116 android:text="@string/start_advertising_presence"/> 117 118 <Button 119 android:id="@+id/stop_advertising" 120 android:layout_width="wrap_content" 121 android:layout_height="wrap_content" 122 android:text="@string/stop_advertising_presence"/> 123 124 <TextView 125 android:id="@+id/device_id_info" 126 android:layout_width="wrap_content" 127 android:layout_height="wrap_content" 128 android:text="@string/device_id_info_presence"/> 129 130 <TextView 131 android:id="@+id/ref_test_result_info" 132 android:layout_width="wrap_content" 133 android:layout_height="wrap_content" 134 android:text="@string/ref_test_result_info_presence"/> 135 </LinearLayout> 136 137 <include 138 android:layout_width="match_parent" 139 android:layout_height="wrap_content" 140 layout="@layout/pass_fail_buttons" /> 141 142 </LinearLayout> 143 </ScrollView> 144</RelativeLayout>