1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:fitsSystemWindows="true"
19    android:orientation="vertical"
20    android:layout_width="wrap_content"
21    android:layout_height="wrap_content">
22
23    <!-- devices -->
24    <TextView
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:text="@string/audio_general_Input"/>
28
29    <Spinner
30        android:id="@+id/input_devices_spinner"
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content" />
33
34    <TextView
35        android:layout_width="match_parent"
36        android:layout_height="wrap_content"
37        android:text="@string/audio_general_Output"/>
38
39    <Spinner
40        android:id="@+id/output_devices_spinner"
41        android:layout_width="match_parent"
42        android:layout_height="wrap_content" />
43
44    <!-- Player Controls -->
45    <LinearLayout
46        android:layout_width="match_parent"
47        android:layout_height="wrap_content"
48        android:orientation="horizontal"
49        android:layout_marginStart="10dp"
50        style="?android:attr/buttonBarStyle">
51        <Button
52            android:text="@string/audio_general_left"
53            android:layout_width="wrap_content"
54            android:layout_height="match_parent"
55            android:id="@+id/audio_calibration_left"
56            style="?android:attr/buttonBarButtonStyle"/>
57        <Button
58            android:text="@string/audio_general_right"
59            android:layout_width="wrap_content"
60            android:layout_height="match_parent"
61            android:id="@+id/audio_calibration_right"
62            style="?android:attr/buttonBarButtonStyle"/>
63        <Button
64            android:text="@string/audio_general_stop"
65            android:layout_width="wrap_content"
66            android:layout_height="match_parent"
67            android:id="@+id/audio_calibration_stop"
68            style="?android:attr/buttonBarButtonStyle"/>
69        <Button
70            android:text="@string/audio_general_done"
71            android:layout_width="wrap_content"
72            android:layout_height="match_parent"
73            android:id="@+id/audio_calibration_done"
74            style="?android:attr/buttonBarButtonStyle"/>
75    </LinearLayout>
76
77    <com.android.cts.verifier.audio.audiolib.WaveScopeView
78        android:id="@+id/uap_recordWaveView"
79        android:layout_width="match_parent"
80        android:layout_height="200dp"/>
81
82    <LinearLayout
83        android:layout_width="match_parent"
84        android:layout_height="fill_parent"
85        android:orientation="vertical"
86        android:layout_marginTop="5dp">
87
88        <WebView
89            android:id="@+id/audio_calibration_info"
90            android:layout_width="match_parent"
91            android:layout_height="wrap_content"/>
92    </LinearLayout>
93
94</LinearLayout>