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