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/ble_rssi_precision_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 <Button 60 android:id="@+id/start_test" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:text="@string/start_test_presence"/> 64 65 <Button 66 android:id="@+id/stop_test" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:text="@string/stop_test_presence"/> 70 71 <TextView 72 android:id="@+id/device_found_info" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:text="@string/device_found_presence"/> 76 77 <EditText 78 android:id="@+id/ref_device_id_input" 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:inputType="numberDecimal|numberSigned" 82 android:hint="@string/reference_device_id_input_presence"/> 83 </LinearLayout> 84 85 <LinearLayout 86 android:id="@+id/ref_mode_layout" 87 android:orientation="vertical" 88 android:layout_width="match_parent" 89 android:layout_height="wrap_content"> 90 91 <Button 92 android:id="@+id/start_advertising" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:text="@string/start_advertising_presence"/> 96 97 <Button 98 android:id="@+id/stop_advertising" 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" 101 android:text="@string/stop_advertising_presence"/> 102 103 <TextView 104 android:id="@+id/device_id_info" 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:text="@string/device_id_info_presence"/> 108 </LinearLayout> 109 110 <include 111 android:layout_width="match_parent" 112 android:layout_height="wrap_content" 113 layout="@layout/pass_fail_buttons" /> 114 115 </LinearLayout> 116 </ScrollView> 117</RelativeLayout>