1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 17 android:fitsSystemWindows="true" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:id="@+id/scrollView" 21 style="@style/RootLayoutPadding"> 22 23 <LinearLayout 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:orientation="vertical"> 27 28 <!-- Has Headset Buttons --> 29 <LinearLayout 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="vertical"> 33 <TextView 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:text="@string/audio_disconnect_wired_prompt" 37 android:id="@+id/analog_headset_query"/> 38 <LinearLayout 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:orientation="horizontal" 42 android:layout_marginLeft="10dp"> 43 <Button 44 android:text="@string/audio_general_yes" 45 android:layout_width="wrap_content" 46 android:layout_height="match_parent" 47 android:id="@+id/headset_analog_port_yes"/> 48 <Button 49 android:text="@string/audio_general_no" 50 android:layout_width="wrap_content" 51 android:layout_height="match_parent" 52 android:id="@+id/headset_analog_port_no"/> 53 </LinearLayout> 54 </LinearLayout> 55 56 <LinearLayout 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:orientation="horizontal" 60 android:layout_marginLeft="10dp"> 61 62 <Button 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:soundEffectsEnabled="false" 66 android:text="@string/audio_general_start" 67 android:id="@+id/connection_start_btn" /> 68 69 <Button 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:soundEffectsEnabled="false" 73 android:text="@string/audio_general_stop" 74 android:id="@+id/connection_stop_btn" /> 75 </LinearLayout> 76 77 <LinearLayout 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 android:orientation="vertical"> 81 82 <TextView 83 android:layout_width="match_parent" 84 android:layout_height="wrap_content" 85 android:text="" 86 android:textSize="40dp" 87 android:textColor="#FFFFFF" 88 android:id="@+id/user_prompt_tx"/> 89 90 <TextView 91 android:layout_width="match_parent" 92 android:layout_height="wrap_content" 93 android:text="" 94 android:id="@+id/debug_message_tx"/> 95 96 <TextView 97 android:layout_width="match_parent" 98 android:layout_height="wrap_content" 99 android:text="" 100 android:id="@+id/results_tx"/> 101 </LinearLayout> 102 103 <include layout="@layout/pass_fail_buttons" /> 104 </LinearLayout> 105</ScrollView> 106