xref: /aosp_15_r20/cts/apps/CtsVerifier/res/layout/audio_aec_activity.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
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:fitsSystemWindows="@bool/fit_system_windows"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:orientation="vertical"
23    style="@style/RootLayoutPadding">
24
25    <ScrollView
26        android:layout_width="match_parent"
27        android:layout_height="match_parent"
28        android:id="@+id/scrollView">
29
30        <LinearLayout
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"
33            android:orientation="vertical">
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/audio_aec_mandatory_info"
41                android:text="@string/audio_aec_mandatory_test" />
42
43            <LinearLayout
44                android:layout_width="match_parent"
45                android:layout_height="wrap_content"
46                android:orientation="horizontal" >
47
48                <Button
49                    android:layout_width="wrap_content"
50                    android:layout_height="wrap_content"
51                    android:id="@+id/audio_aec_mandatory_no"
52                    android:text="@string/af_no" />
53                <Button
54                    android:layout_width="wrap_content"
55                    android:layout_height="wrap_content"
56                    android:id="@+id/audio_aec_mandatory_yes"
57                    android:text="@string/af_yes" />
58            </LinearLayout>
59
60            <LinearLayout
61                    android:layout_width="match_parent"
62                    android:layout_height="wrap_content"
63                    android:orientation="vertical"
64                    android:id="@+id/audio_aec_test_layout" >
65
66                <View
67                        android:layout_width="match_parent"
68                        android:layout_height="1dp"
69                        android:background="?android:colorAccent" />
70
71                <TextView
72                        android:layout_width="wrap_content"
73                        android:layout_height="wrap_content"
74                        android:scrollbars="vertical"
75                        android:gravity="bottom"
76                        android:text="@string/audio_aec_instructions"
77                        android:id="@+id/audio_aec_instructions" />
78
79                <Button
80                        android:layout_width="wrap_content"
81                        android:layout_height="wrap_content"
82                        android:soundEffectsEnabled="false"
83                        android:text="@string/af_button_test"
84                        android:id="@+id/audio_aec_button_test" />
85                <ProgressBar
86                        android:layout_width="wrap_content"
87                        android:layout_height="wrap_content"
88                        android:layout_weight="1"
89                        android:id="@+id/audio_aec_test_progress_bar" />
90
91                <TextView
92                        android:layout_width="match_parent"
93                        android:layout_height="wrap_content"
94                        android:text="@string/af_test_results"
95                        android:id="@+id/audio_aec_test_result" />
96            </LinearLayout>
97
98            <include layout="@layout/pass_fail_buttons" />
99        </LinearLayout>
100    </ScrollView>
101
102</LinearLayout>
103