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