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:fitsSystemWindows="true"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical"
22    style="@style/RootLayoutPadding">
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            <include layout="@layout/audio_wired_query_layout" />
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/info_text"
42                android:text="@string/audio_frequency_line_instructions" />
43            <LinearLayout
44                android:layout_width="match_parent"
45                android:layout_height="wrap_content"
46                android:orientation="vertical"
47            >
48                <Button
49                    android:layout_width="match_parent"
50                    android:layout_height="wrap_content"
51                    android:id="@+id/audio_frequency_line_plug_ready_btn"
52                    android:text="@string/audio_frequency_line_plug_ready_btn"
53                    android:nextFocusForward="@+id/audio_frequency_line_test_btn"
54                    android:nextFocusUp="@+id/audio_general_headset_yes"
55                    android:nextFocusDown="@+id/audio_frequency_line_test_btn"
56                    android:nextFocusLeft="@+id/audio_general_headset_yes"
57                    android:nextFocusRight="@+id/audio_frequency_line_test_btn"/>
58
59                <LinearLayout
60                    android:orientation="vertical"
61                    android:layout_width="match_parent"
62                    android:layout_height="match_parent"
63                >
64
65                    <LinearLayout
66                        android:layout_width="wrap_content"
67                        android:layout_height="wrap_content"
68                        android:orientation="horizontal"
69                        android:id="@+id/audio_frequency_line_layout"
70                    >
71                        <Button
72                            android:layout_width="wrap_content"
73                            android:layout_height="wrap_content"
74                            android:text="@string/audio_frequency_line_test_btn"
75                            android:id="@+id/audio_frequency_line_test_btn"
76                            android:nextFocusForward="@+id/pass_button"
77                            android:nextFocusUp="@+id/audio_frequency_line_plug_ready_btn"
78                            android:nextFocusDown="@+id/pass_button"
79                            android:nextFocusLeft="@+id/audio_frequency_line_plug_ready_btn"
80                            android:nextFocusRight="@+id/pass_button"/>
81
82                        <ProgressBar
83                            android:layout_width="wrap_content"
84                            android:layout_height="wrap_content"
85                            android:id="@+id/audio_frequency_line_progress_bar" />
86                    </LinearLayout>
87
88                    <TextView
89                        android:layout_width="wrap_content"
90                        android:layout_height="wrap_content"
91                        android:text="@string/audio_frequency_line_results_text"
92                        android:id="@+id/audio_frequency_line_results_text" />
93
94                </LinearLayout>
95            </LinearLayout>
96
97            <include layout="@layout/pass_fail_buttons" />
98        </LinearLayout>
99    </ScrollView>
100
101</LinearLayout>
102