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<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:orientation="vertical" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content"> 23 24 <!-- Device Notifications --> 25 <!-- USB_HEADSET --> 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:orientation="vertical"> 30 <TextView 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:text="TYPE_USB_HEADSET" /> 34 <TextView 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:layout_marginLeft="10dp" 38 android:id="@+id/uap_messages_headset_out_name"/> 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_in_name"/> 44 </LinearLayout> 45 46 <!-- USB_DEVICE --> 47 <LinearLayout 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:orientation="vertical"> 51 <TextView 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:text="TYPE_USB_DEVICE"/> 55 <TextView 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" 58 android:layout_marginLeft="10dp" 59 android:id="@+id/uap_messages_usb_device__out_name"/> 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_in_name"/> 65 </LinearLayout> 66 67 <!-- Plug Intent --> 68 <LinearLayout 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:orientation="vertical"> 72 <TextView 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:text="ACTION_HEADSET_PLUG Intent"/> 76 <TextView 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" 79 android:layout_marginLeft="10dp" 80 android:id="@+id/uap_messages_plug_message"/> 81 </LinearLayout> 82 83 <include layout="@layout/pass_fail_buttons"/> 84 85</LinearLayout> 86