• 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
23    <ScrollView
24       android:layout_width="match_parent"
25       android:layout_height="match_parent"
26       android:id="@+id/scrollView">
27
28        <LinearLayout
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:orientation="vertical">
32
33            <include layout="@layout/audio_refmic_layout"/>
34
35            <TextView
36                android:layout_width="match_parent"
37                android:layout_height="wrap_content"
38                android:scrollbars="vertical"
39                android:gravity="bottom"
40                android:id="@+id/info_text"
41                android:text="@string/audio_frequency_speaker_instructions"/>
42
43            <LinearLayout
44                android:layout_width="match_parent"
45                android:layout_height="wrap_content"
46                android:orientation="vertical">
47                <Button
48                    android:layout_width="match_parent"
49                    android:layout_height="wrap_content"
50                    android:id="@+id/audio_frequency_speaker_mic_ready_btn"
51                    android:text="@string/audio_frequency_speaker_mic_ready_btn"
52                    android:nextFocusForward="@+id/audio_frequency_speaker_test_btn"
53                    android:nextFocusDown="@+id/audio_frequency_speaker_test_btn"
54                    android:nextFocusRight="@+id/audio_frequency_speaker_test_btn" />
55
56                <TextView
57                    android:layout_width="wrap_content"
58                    android:layout_height="wrap_content"
59                    android:text="@string/audio_frequency_speaker_usb_status"
60                    android:id="@+id/audio_frequency_speaker_usb_status"/>
61
62                <LinearLayout
63                    android:orientation="vertical"
64                    android:layout_width="match_parent"
65                    android:layout_height="match_parent">
66
67                    <LinearLayout
68                        android:layout_width="wrap_content"
69                        android:layout_height="wrap_content"
70                        android:orientation="horizontal"
71                        android:id="@+id/audio_frequency_speaker_layout">
72                        <Button
73                            android:layout_width="wrap_content"
74                            android:layout_height="wrap_content"
75                            android:text="@string/audio_frequency_speaker_test_btn"
76                            android:id="@+id/audio_frequency_speaker_test_btn"
77                            android:nextFocusForward="@+id/pass_button"
78                            android:nextFocusUp="@+id/audio_frequency_speaker_mic_ready_btn"
79                            android:nextFocusDown="@+id/pass_button"
80                            android:nextFocusLeft="@+id/audio_frequency_speaker_mic_ready_btn"
81                            android:nextFocusRight="@+id/pass_button" />
82
83                        <ProgressBar
84                            android:layout_width="wrap_content"
85                            android:layout_height="wrap_content"
86                            android:id="@+id/audio_frequency_speaker_progress_bar"/>
87                    </LinearLayout>
88
89                    <TextView
90                        android:layout_width="wrap_content"
91                        android:layout_height="wrap_content"
92                        android:text="@string/audio_frequency_speaker_results_text"
93                        android:id="@+id/audio_frequency_speaker_results_text"/>
94
95                </LinearLayout>
96            </LinearLayout>
97
98            <include layout="@layout/pass_fail_buttons"/>
99        </LinearLayout>
100      </ScrollView>
101
102</LinearLayout>
103