1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:fitsSystemWindows="true" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="vertical"> 23 24 <include layout="@layout/audio_java_native_api_buttons" /> 25 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:orientation="horizontal" 30 style="?android:attr/buttonBarStyle"> 31 <Button 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 style="?android:attr/buttonBarButtonStyle" 35 android:text="@string/audio_datapaths_calibrate" 36 android:id="@+id/audio_datapaths_calibrate_button"/> 37 38 <Button 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 style="?android:attr/buttonBarButtonStyle" 42 android:text="@string/audio_datapaths_devices" 43 android:id="@+id/audio_datapaths_devices_button"/> 44 </LinearLayout> 45 46 <!-- Player Controls --> 47 <LinearLayout 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:orientation="horizontal" 51 android:layout_marginStart="10dp" 52 style="?android:attr/buttonBarStyle"> 53 <Button 54 android:text="@string/audio_general_start" 55 android:layout_width="wrap_content" 56 android:layout_height="match_parent" 57 android:id="@+id/audio_datapaths_start" 58 style="?android:attr/buttonBarButtonStyle"/> 59 <Button 60 android:text="@string/audio_general_cancel" 61 android:layout_width="wrap_content" 62 android:layout_height="match_parent" 63 android:id="@+id/audio_datapaths_cancel" 64 style="?android:attr/buttonBarButtonStyle"/> 65 <Button 66 android:text="@string/audio_datapaths_clearresults" 67 android:layout_width="wrap_content" 68 android:layout_height="match_parent" 69 android:id="@+id/audio_datapaths_clearresults" 70 style="?android:attr/buttonBarButtonStyle"/> 71 </LinearLayout> 72 73 <com.android.cts.verifier.audio.audiolib.WaveScopeView 74 android:id="@+id/uap_recordWaveView" 75 android:layout_width="match_parent" 76 android:layout_height="150dp"/> 77 78 <TextView 79 android:layout_width="match_parent" 80 android:layout_height="wrap_content" 81 android:id="@+id/audio_datapaths_routes"/> 82 83 <LinearLayout 84 android:layout_width="match_parent" 85 android:layout_height="fill_parent" 86 android:orientation="vertical"> 87 88 <WebView 89 android:id="@+id/audio_datapaths_results" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content"/> 92 </LinearLayout> 93 94 </LinearLayout> 95