1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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<LinearLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:padding="10dip" 21 android:orientation="vertical" 22> 23 <ScrollView 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:id="@+id/scrollView" 27 > 28 29 <LinearLayout 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="vertical" 33 > 34 <TextView 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:scrollbars="vertical" 38 android:gravity="bottom" 39 android:id="@+id/audio_general_headset_port_exists" 40 android:text="@string/audio_general_headset_port_exists" /> 41 42 <LinearLayout 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:orientation="horizontal" 46 > 47 48 <Button 49 android:layout_width="wrap_content" 50 android:layout_height="wrap_content" 51 android:id="@+id/audio_general_headset_no" 52 android:text="@string/audio_general_headset_no" 53 android:nextFocusForward="@+id/audio_general_headset_yes" 54 android:nextFocusDown="@+id/audio_frequency_line_plug_ready_btn" 55 android:nextFocusRight="@+id/audio_general_headset_yes"/> 56 57 <Button 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:id="@+id/audio_general_headset_yes" 61 android:text="@string/audio_general_headset_yes" 62 android:nextFocusForward="@+id/audio_frequency_line_plug_ready_btns" 63 android:nextFocusDown="@+id/audio_frequency_line_plug_ready_btn" 64 android:nextFocusLeft="@+id/audio_general_headset_no" 65 android:nextFocusRight="@+id/audio_frequency_line_plug_ready_btn" /> 66 67 </LinearLayout> 68 69 <TextView 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:scrollbars="vertical" 73 android:gravity="bottom" 74 android:id="@+id/info_text" 75 android:text="@string/audio_frequency_line_instructions" /> 76 <LinearLayout 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" 79 android:orientation="vertical" 80 > 81 <Button 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:id="@+id/audio_frequency_line_plug_ready_btn" 85 android:text="@string/audio_frequency_line_plug_ready_btn" 86 android:nextFocusForward="@+id/audio_frequency_line_test_btn" 87 android:nextFocusUp="@+id/audio_general_headset_yes" 88 android:nextFocusDown="@+id/audio_frequency_line_test_btn" 89 android:nextFocusLeft="@+id/audio_general_headset_yes" 90 android:nextFocusRight="@+id/audio_frequency_line_test_btn"/> 91 92 <LinearLayout 93 android:orientation="vertical" 94 android:layout_width="match_parent" 95 android:layout_height="match_parent" 96 > 97 98 <LinearLayout 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" 101 android:orientation="horizontal" 102 android:id="@+id/audio_frequency_line_layout" 103 > 104 <Button 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:text="@string/audio_frequency_line_test_btn" 108 android:id="@+id/audio_frequency_line_test_btn" 109 android:nextFocusForward="@+id/pass_button" 110 android:nextFocusUp="@+id/audio_frequency_line_plug_ready_btn" 111 android:nextFocusDown="@+id/pass_button" 112 android:nextFocusLeft="@+id/audio_frequency_line_plug_ready_btn" 113 android:nextFocusRight="@+id/pass_button"/> 114 115 <ProgressBar 116 android:layout_width="wrap_content" 117 android:layout_height="wrap_content" 118 android:id="@+id/audio_frequency_line_progress_bar" /> 119 </LinearLayout> 120 121 <TextView 122 android:layout_width="wrap_content" 123 android:layout_height="wrap_content" 124 android:text="@string/audio_frequency_line_results_text" 125 android:id="@+id/audio_frequency_line_results_text" /> 126 127 </LinearLayout> 128 </LinearLayout> 129 130 <include layout="@layout/pass_fail_buttons" /> 131 </LinearLayout> 132 </ScrollView> 133 134</LinearLayout>