1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- Copyright (C) 2020 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19    android:fitsSystemWindows="true"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:id="@+id/scrollView"
23    style="@style/RootLayoutPadding">
24    <LinearLayout
25        android:orientation="vertical"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content">
28
29        <!-- Device Notifications -->
30        <!-- USB_HEADSET -->
31        <LinearLayout
32            android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:orientation="vertical">
35            <TextView
36                android:layout_width="match_parent"
37                android:layout_height="wrap_content"
38                android:text="TYPE_USB_HEADSET" />
39            <TextView
40                android:layout_width="match_parent"
41                android:layout_height="wrap_content"
42                android:layout_marginLeft="10dp"
43                android:id="@+id/uap_messages_headset_out_name"/>
44            <TextView
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:layout_marginLeft="10dp"
48                android:id="@+id/uap_messages_headset_in_name"/>
49        </LinearLayout>
50
51        <!-- USB_DEVICE -->
52        <LinearLayout
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content"
55            android:orientation="vertical">
56            <TextView
57                android:layout_width="match_parent"
58                android:layout_height="wrap_content"
59                android:text="TYPE_USB_DEVICE"/>
60            <TextView
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                android:layout_marginLeft="10dp"
64                android:id="@+id/uap_messages_usb_device__out_name"/>
65            <TextView
66                android:layout_width="match_parent"
67                android:layout_height="wrap_content"
68                android:layout_marginLeft="10dp"
69                android:id="@+id/uap_messages_usb_device_in_name"/>
70        </LinearLayout>
71
72        <!-- Plug Intent -->
73        <LinearLayout
74            android:layout_width="match_parent"
75            android:layout_height="wrap_content"
76            android:orientation="vertical">
77            <TextView
78                android:layout_width="match_parent"
79                android:layout_height="wrap_content"
80                android:text="ACTION_HEADSET_PLUG Intent"/>
81            <TextView
82                android:layout_width="match_parent"
83                android:layout_height="wrap_content"
84                android:layout_marginLeft="10dp"
85                android:id="@+id/uap_messages_plug_message"/>
86        </LinearLayout>
87
88        <include layout="@layout/pass_fail_buttons"/>
89
90    </LinearLayout>
91</ScrollView>
92