• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical"
22    style="@style/RootLayoutPadding">
23
24    <ScrollView
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:id="@+id/scrollView">
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_aec_mandatory_info"
40                    android:text="@string/audio_aec_mandatory_test" />
41
42            <LinearLayout
43                    android:layout_width="match_parent"
44                    android:layout_height="wrap_content"
45                    android:orientation="horizontal" >
46
47                <Button
48                        android:layout_width="wrap_content"
49                        android:layout_height="wrap_content"
50                        android:id="@+id/audio_aec_mandatory_no"
51                        android:text="@string/af_no" />
52                <Button
53                        android:layout_width="wrap_content"
54                        android:layout_height="wrap_content"
55                        android:id="@+id/audio_aec_mandatory_yes"
56                        android:text="@string/af_yes" />
57            </LinearLayout>
58
59            <LinearLayout
60                    android:layout_width="match_parent"
61                    android:layout_height="wrap_content"
62                    android:orientation="vertical"
63                    android:id="@+id/audio_aec_test_layout" >
64
65                <View
66                        android:layout_width="match_parent"
67                        android:layout_height="1dp"
68                        android:background="?android:colorAccent" />
69
70                <TextView
71                        android:layout_width="wrap_content"
72                        android:layout_height="wrap_content"
73                        android:scrollbars="vertical"
74                        android:gravity="bottom"
75                        android:text="@string/audio_aec_instructions"
76                        android:id="@+id/audio_aec_instructions" />
77
78                <Button
79                        android:layout_width="wrap_content"
80                        android:layout_height="wrap_content"
81                        android:soundEffectsEnabled="false"
82                        android:text="@string/af_button_test"
83                        android:id="@+id/audio_aec_button_test" />
84                <ProgressBar
85                        android:layout_width="wrap_content"
86                        android:layout_height="wrap_content"
87                        android:layout_weight="1"
88                        android:id="@+id/audio_aec_test_progress_bar" />
89
90                <TextView
91                        android:layout_width="match_parent"
92                        android:layout_height="wrap_content"
93                        android:text="@string/af_test_results"
94                        android:id="@+id/audio_aec_test_result" />
95            </LinearLayout>
96
97            <include layout="@layout/pass_fail_buttons" />
98        </LinearLayout>
99    </ScrollView>
100
101</LinearLayout>
102