• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 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:fitsSystemWindows="@bool/fit_system_windows"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:id="@+id/scrollView"
22    style="@style/RootLayoutPadding">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:orientation="vertical">
28
29         <!-- Device Connection -->
30        <TextView
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"
33            android:textSize="20sp"
34            android:id="@+id/headset_analog_jackstatus"/>
35
36        <TextView
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:paddingTop="5dp"
40            android:text="@string/analog_headset_playback_moved"/>
41
42        <!-- Keycodes -->
43        <LinearLayout
44            android:layout_width="match_parent"
45            android:layout_height="wrap_content"
46            android:orientation="vertical">
47            <TextView
48                android:layout_width="match_parent"
49                android:layout_height="wrap_content"
50                android:id="@+id/analog_headset_keycodes_prompt"/>
51            <TextView
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54                android:text="@string/analog_headset_keycodes_label"
55                android:id="@+id/headset_keycodes"/>
56            <LinearLayout
57                android:layout_width="match_parent"
58                android:layout_height="wrap_content"
59                android:orientation="horizontal"
60                android:layout_marginLeft="10dp">
61                <TextView
62                    android:layout_width="wrap_content"
63                    android:layout_height="wrap_content"
64                    android:text="@string/analog_headset_headsethook"
65                    android:paddingHorizontal="10dp"
66                    android:id="@+id/headset_keycode_headsethook"/>
67                <TextView
68                    android:layout_width="wrap_content"
69                    android:layout_height="wrap_content"
70                    android:text="@string/analog_headset_volup"
71                    android:paddingHorizontal="10dp"
72                    android:id="@+id/headset_keycode_volume_up"/>
73                <TextView
74                    android:layout_width="wrap_content"
75                    android:layout_height="wrap_content"
76                    android:text="@string/analog_headset_voldown"
77                    android:paddingHorizontal="10dp"
78                    android:id="@+id/headset_keycode_volume_down"/>
79            </LinearLayout>
80        </LinearLayout>
81
82        <!-- Results -->
83        <TextView
84            android:layout_width="match_parent"
85            android:layout_height="wrap_content"
86            android:id="@+id/headset_results"
87            android:textSize="20sp"/>
88
89        <include layout="@layout/pass_fail_buttons" />
90
91    </LinearLayout>
92</ScrollView>
93