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