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
24    <ScrollView
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:id="@+id/scrollView"
28    >
29
30        <LinearLayout
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"
33            android:orientation="vertical"
34        >
35
36            <TextView
37                android:layout_width="match_parent"
38                android:layout_height="wrap_content"
39                android:scrollbars="vertical"
40                android:gravity="bottom"
41                android:id="@+id/audio_general_headset_port_exists"
42                android:text="@string/audio_general_headset_port_exists" />
43
44            <LinearLayout
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:orientation="horizontal"
48            >
49
50                <Button
51                    android:layout_width="wrap_content"
52                    android:layout_height="wrap_content"
53                    android:id="@+id/audio_general_headset_no"
54                    android:text="@string/audio_general_headset_no"
55                    android:nextFocusForward="@+id/audio_general_headset_yes"
56                    android:nextFocusDown="@+id/audio_frequency_mic_speakers_ready_btn"
57                    android:nextFocusRight="@+id/audio_general_headset_yes" />
58
59                <Button
60                    android:layout_width="wrap_content"
61                    android:layout_height="wrap_content"
62                    android:id="@+id/audio_general_headset_yes"
63                    android:text="@string/audio_general_headset_yes"
64                    android:nextFocusForward="@+id/audio_frequency_mic_speakers_ready_btn"
65                    android:nextFocusDown="@+id/audio_frequency_mic_speakers_ready_btn"
66                    android:nextFocusLeft="@+id/audio_general_headset_no"
67                    android:nextFocusRight="@+id/audio_frequency_mic_speakers_ready_btn" />
68
69            </LinearLayout>
70
71            <LinearLayout
72                android:layout_width="wrap_content"
73                android:layout_height="wrap_content"
74                android:orientation="horizontal"
75            >
76                <TextView
77                    android:layout_width="wrap_content"
78                    android:layout_height="wrap_content"
79                    android:layout_weight="1"
80                    android:id="@+id/info_text"
81                    android:text="@string/audio_frequency_mic_instructions" />
82
83                <ProgressBar
84                    android:layout_width="wrap_content"
85                    android:layout_height="wrap_content"
86                    android:layout_weight="1"
87                    android:id="@+id/audio_frequency_mic_progress_bar" />
88            </LinearLayout>
89
90            <Button
91                android:layout_width="match_parent"
92                android:layout_height="wrap_content"
93                android:id="@+id/audio_frequency_mic_speakers_ready_btn"
94                android:text="@string/audio_frequency_mic_speakers_ready_btn"
95                android:nextFocusForward="@+id/audio_frequency_mic_test1_btn"
96                android:nextFocusUp="@+id/audio_general_headset_yes"
97                android:nextFocusDown="@+id/audio_frequency_mic_test1_btn"
98                android:nextFocusLeft="@+id/audio_general_headset_yes"
99                android:nextFocusRight="@+id/audio_frequency_mic_test1_btn" />
100
101            <TextView
102                android:layout_width="match_parent"
103                android:layout_height="wrap_content"
104                android:scrollbars="vertical"
105                android:gravity="bottom"
106                android:id="@+id/audio_frequency_mic_speakers_ready_status"
107                android:text="@string/audio_frequency_mic_speakers_ready_status" />
108
109            <LinearLayout
110                android:layout_width="wrap_content"
111                android:layout_height="wrap_content"
112                android:orientation="vertical"
113                android:id="@+id/audio_frequency_mic_layout_test1"
114            >
115
116                <TextView
117                    android:layout_width="wrap_content"
118                    android:layout_height="wrap_content"
119                    android:text="@string/audio_frequency_mic_instructions2"
120                    android:id="@+id/audio_frequency_mic_instructions2" />
121
122                <Button
123                    android:layout_width="wrap_content"
124                    android:layout_height="wrap_content"
125                    android:text="@string/audio_frequency_mic_test1_btn"
126                    android:id="@+id/audio_frequency_mic_test1_btn"
127                    android:nextFocusForward="@+id/audio_frequency_mic_mic_ready_btn"
128                    android:nextFocusUp="@+id/audio_frequency_mic_speakers_ready_btn"
129                    android:nextFocusDown="@+id/audio_frequency_mic_mic_ready_btn"
130                    android:nextFocusLeft="@+id/audio_frequency_mic_speakers_ready_btn"
131                    android:nextFocusRight="@+id/audio_frequency_mic_mic_ready_btn" />
132
133                <TextView
134                    android:layout_width="wrap_content"
135                    android:layout_height="wrap_content"
136                    android:text="@string/audio_frequency_mic_results_text"
137                    android:id="@+id/audio_frequency_mic_results1_text" />
138            </LinearLayout>
139
140            <LinearLayout
141                android:layout_width="match_parent"
142                android:layout_height="wrap_content"
143                android:orientation="vertical"
144                android:id="@+id/audio_frequency_mic_layout_test2a"
145            >
146
147                <Button
148                    android:layout_width="match_parent"
149                    android:layout_height="wrap_content"
150                    android:id="@+id/audio_frequency_mic_mic_ready_btn"
151                    android:text="@string/audio_frequency_mic_mic_ready_btn"
152                    android:nextFocusForward="@+id/audio_frequency_mic_test2_btn"
153                    android:nextFocusUp="@+id/audio_frequency_mic_test1_btn"
154                    android:nextFocusDown="@+id/audio_frequency_mic_test2_btn"
155                    android:nextFocusLeft="@+id/audio_frequency_mic_test1_btn"
156                    android:nextFocusRight="@+id/audio_frequency_mic_test2_btn" />
157
158                <TextView
159                    android:layout_width="wrap_content"
160                    android:layout_height="wrap_content"
161                    android:text="@string/audio_frequency_mic_usb_status"
162                    android:id="@+id/audio_frequency_mic_usb_status" />
163            </LinearLayout>
164
165            <LinearLayout
166                android:orientation="vertical"
167                android:layout_width="match_parent"
168                android:layout_height="match_parent"
169                android:id="@+id/audio_frequency_mic_layout_test2b"
170            >
171
172                <Button
173                    android:layout_width="wrap_content"
174                    android:layout_height="wrap_content"
175                    android:text="@string/audio_frequency_mic_test2_btn"
176                    android:id="@+id/audio_frequency_mic_test2_btn"
177                    android:nextFocusForward="@+id/pass_button"
178                    android:nextFocusUp="@+id/audio_frequency_mic_mic_ready_btn"
179                    android:nextFocusDown="@+id/pass_button"
180                    android:nextFocusLeft="@+id/audio_frequency_mic_mic_ready_btn"
181                    android:nextFocusRight="@+id/pass_button" />
182
183                <TextView
184                    android:layout_width="wrap_content"
185                    android:layout_height="wrap_content"
186                    android:text="@string/audio_frequency_mic_results_text"
187                    android:id="@+id/audio_frequency_mic_results_text" />
188
189            </LinearLayout>
190
191            <include layout="@layout/pass_fail_buttons" />
192        </LinearLayout>
193    </ScrollView>
194
195</LinearLayout>