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="@bool/fit_system_windows" 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 <TextView 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:text="@string/uapNotificationsTestInfo" 33 android:padding="20dp"/> 34 35 <TextView 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:text="@string/uapNotificationsTest_Status" 39 android:textSize="20sp" /> 40 41 <!-- Device Notifications --> 42 <!-- USB_HEADSET --> 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:text="TYPE_USB_HEADSET" /> 51 <TextView 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_marginLeft="10dp" 55 android:id="@+id/uap_messages_headset_out_name"/> 56 <TextView 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:layout_marginLeft="10dp" 60 android:id="@+id/uap_messages_headset_in_name"/> 61 </LinearLayout> 62 63 <!-- USB_DEVICE --> 64 <LinearLayout 65 android:layout_width="match_parent" 66 android:layout_height="wrap_content" 67 android:orientation="vertical"> 68 <TextView 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:text="TYPE_USB_DEVICE"/> 72 <TextView 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:layout_marginLeft="10dp" 76 android:id="@+id/uap_messages_usb_device__out_name"/> 77 <TextView 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 android:layout_marginLeft="10dp" 81 android:id="@+id/uap_messages_usb_device_in_name"/> 82 </LinearLayout> 83 84 <!-- Plug Intent --> 85 <LinearLayout 86 android:layout_width="match_parent" 87 android:layout_height="wrap_content" 88 android:orientation="vertical"> 89 <TextView 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:text="ACTION_HEADSET_PLUG Intent"/> 93 <TextView 94 android:layout_width="match_parent" 95 android:layout_height="wrap_content" 96 android:layout_marginLeft="10dp" 97 android:id="@+id/uap_messages_plug_message"/> 98 </LinearLayout> 99 100 <include layout="@layout/pass_fail_buttons"/> 101 102 </LinearLayout> 103</ScrollView> 104