blob: e89ad0eacfda8eb3122442c64bfcb07a0b84e249 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
android:orientation="vertical"
style="@style/RootLayoutPadding"
tools:ignore="Autofill">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:text="@string/nan_accuracy_test_instructions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scrollbars="vertical"/>
<CheckBox
android:id="@+id/is_reference_device"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/is_reference_device_checkbox_text"/>
<LinearLayout
android:id="@+id/dut_mode_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/is_manual_pass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/is_manual_pass_text"/>
<TextView
android:id="@+id/test_distance_radio_group_description"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/select_test_distance_presence"/>
<RadioGroup
android:id="@+id/test_distance_radio_group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checkedButton="@id/distance_10cm"
android:orientation="horizontal">
<RadioButton
android:id="@+id/distance_10cm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/distance_10cm_presence"/>
<RadioButton
android:id="@+id/distance_1m"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/distance_1m_presence"/>
<RadioButton
android:id="@+id/distance_3m"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/distance_3m_presence"/>
<RadioButton
android:id="@+id/distance_5m"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/distance_5m_presence"/>
</RadioGroup>
<LinearLayout
android:id="@+id/start_stop_layout"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<Button
android:id="@+id/start_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/start_test_presence"/>
<Button
android:id="@+id/stop_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/stop_test_presence"/>
</LinearLayout>
<EditText
android:id="@+id/service_id_input"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="numberDecimal|numberSigned"
android:hint="@string/service_id_input_presence"/>
<TextView
android:id="@+id/device_found_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/device_found_presence"/>
<TextView
android:id="@+id/test_status_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout
android:id="@+id/ref_mode_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/start_publishing"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/start_publishing_presence"/>
<Button
android:id="@+id/stop_publishing"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/stop_publishing_presence"/>
<TextView
android:id="@+id/service_id_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/service_id_info_presence"/>
</LinearLayout>
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
layout="@layout/pass_fail_buttons"/>
</LinearLayout>
</ScrollView>
</RelativeLayout>