| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2019 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. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| style="@style/RootLayoutPadding"> |
| |
| <ScrollView |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:id="@+id/scrollView"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <include layout="@layout/audio_refmic_layout"/> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:id="@+id/vr_layout_test_tone"> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:colorAccent" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:scrollbars="vertical" |
| android:gravity="bottom" |
| android:text="@string/vr_test_tone_instructions" |
| android:id="@+id/vr_test_tone_instructions" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="2"> |
| |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_test" |
| android:id="@+id/vr_button_test_tone" /> |
| <ProgressBar |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:id="@+id/vr_test_tone_progress_bar" /> |
| |
| </LinearLayout> |
| |
| <View |
| android:layout_width="1dp" |
| android:layout_height="match_parent" |
| android:background="?android:colorAccent" /> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="1"> |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_play" |
| android:id="@+id/vr_button_play_tone" /> |
| </LinearLayout> |
| </LinearLayout> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/af_test_results" |
| android:id="@+id/vr_test_tone_result" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:id="@+id/vr_layout_test_noise"> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:colorAccent" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:scrollbars="vertical" |
| android:gravity="bottom" |
| android:text="@string/vr_test_noise_instructions" |
| android:id="@+id/vr_test_noise_instructions" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="2"> |
| |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_test" |
| android:id="@+id/vr_button_test_noise" /> |
| <ProgressBar |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:id="@+id/vr_test_noise_progress_bar" /> |
| </LinearLayout> |
| |
| <View |
| android:layout_width="1dp" |
| android:layout_height="match_parent" |
| android:background="?android:colorAccent" /> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="1"> |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_play" |
| android:id="@+id/vr_button_play_noise" /> |
| </LinearLayout> |
| </LinearLayout> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/af_test_results" |
| android:id="@+id/vr_test_noise_result" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:id="@+id/vr_layout_test_usb_background"> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:colorAccent" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:scrollbars="vertical" |
| android:gravity="bottom" |
| android:text="@string/vr_test_usb_background_instructions" |
| android:id="@+id/vr_test_usb_background_instructions" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="2"> |
| |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_test" |
| android:id="@+id/vr_button_test_usb_background" /> |
| <ProgressBar |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:id="@+id/vr_test_usb_background_progress_bar" /> |
| </LinearLayout> |
| </LinearLayout> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/af_test_results" |
| android:id="@+id/vr_test_usb_background_result" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:id="@+id/vr_layout_test_usb_noise"> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:colorAccent" /> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:scrollbars="vertical" |
| android:gravity="bottom" |
| android:text="@string/vr_test_usb_noise_instructions" |
| android:id="@+id/vr_test_usb_noise_instructions" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="2"> |
| |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_test" |
| android:id="@+id/vr_button_test_usb_noise" /> |
| <ProgressBar |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:id="@+id/vr_test_usb_noise_progress_bar" /> |
| </LinearLayout> |
| |
| <View |
| android:layout_width="1dp" |
| android:layout_height="match_parent" |
| android:background="?android:colorAccent" /> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| android:layout_weight="1"> |
| <Button |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:soundEffectsEnabled="false" |
| android:text="@string/af_button_play" |
| android:id="@+id/vr_button_play_usb_noise" /> |
| </LinearLayout> |
| </LinearLayout> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/af_test_results" |
| android:id="@+id/vr_test_usb_noise_result" /> |
| </LinearLayout> |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:background="?android:colorAccent" /> |
| |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/af_global_test_results" |
| android:id="@+id/vr_test_global_result" /> |
| |
| <include layout="@layout/pass_fail_buttons" /> |
| </LinearLayout> |
| </ScrollView> |
| |
| </LinearLayout> |