• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:id="@+id/scrollView"
21    style="@style/RootLayoutPadding">
22
23    <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:orientation="vertical">
27
28        <include layout="@layout/audio_java_native_api_buttons" />
29
30        <LinearLayout
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"
33            android:orientation="horizontal">
34
35            <Button
36                android:layout_width="wrap_content"
37                android:layout_height="wrap_content"
38                android:soundEffectsEnabled="false"
39                android:text="@string/audio_general_start"
40                android:id="@+id/tap2tone_startBtn" />
41
42            <Button
43                android:layout_width="wrap_content"
44                android:layout_height="wrap_content"
45                android:soundEffectsEnabled="false"
46                android:text="@string/audio_general_stop"
47                android:id="@+id/tap2tone_stopBtn" />
48        </LinearLayout>
49
50        <TextView
51            android:id="@+id/tap2tone_specTxt"
52            android:text="@string/audio_tap2tone_spec"
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content"
55            android:textSize="20sp"
56            android:textStyle="bold"/>
57
58        <TextView
59            android:id="@+id/tap2tone_resultTxt"
60            android:layout_width="match_parent"
61            android:layout_height="wrap_content"
62            android:textSize="20sp"
63            android:textStyle="bold"/>
64
65        <TextView
66            android:id="@+id/tap2tone_statsTxt"
67            android:layout_width="match_parent"
68            android:layout_height="wrap_content"
69            android:textSize="20sp"
70            android:textStyle="bold"/>
71
72        <TextView
73            android:id="@+id/tap2tone_phaseInfo"
74            android:layout_width="match_parent"
75            android:layout_height="wrap_content"
76            android:textSize="20sp"
77            android:textStyle="bold"/>
78
79        <Button
80            android:layout_width="wrap_content"
81            android:layout_height="wrap_content"
82            android:soundEffectsEnabled="false"
83            android:text="@string/audio_general_clear_results"
84            android:id="@+id/tap2tone_clearResults" />
85
86        <com.android.cts.verifier.audio.audiolib.WaveformView
87            android:id="@+id/tap2tone_waveView"
88            android:layout_width="fill_parent"
89            android:layout_height="120dp" />
90
91        <include layout="@layout/pass_fail_buttons" />
92
93    </LinearLayout>
94</ScrollView>
95