1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2022 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:orientation="vertical" > 20 <TextView 21 android:id="@+id/textView_display_id" 22 android:layout_width="wrap_content" 23 android:layout_height="wrap_content" 24 android:textStyle="italic" 25 android:text=""/> 26 <TextView 27 android:id="@+id/textView_user_on_display" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:textStyle="italic" 31 android:text=""/> 32 <TextView 33 android:id="@+id/textView_state" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:textStyle="italic" 37 android:text=""/> 38 <TextView 39 android:id="@+id/textView_zoneinfo" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:textStyle="italic" 43 android:layout_marginBottom="5dp" 44 android:text=""/> 45 <View 46 android:layout_width="match_parent" 47 android:layout_height="1dp" 48 android:padding="5dp" 49 android:layout_marginBottom="10dp" 50 android:background="@android:color/darker_gray"/> 51 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_marginBottom="5dp" 55 android:orientation="horizontal" > 56 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:orientation="vertical" > 60 <TextView 61 android:id="@+id/textView_users" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:textSize="32sp" 65 android:textAppearance="?android:textAppearanceLarge" 66 android:text="Users"/> 67 <Spinner 68 android:id="@+id/spinner_users" 69 android:layout_width="wrap_content" android:layout_height="wrap_content"/> 70 </LinearLayout> 71 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:orientation="vertical" > 75 <TextView 76 android:id="@+id/textView_displays" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:textSize="32sp" 80 android:textAppearance="?android:textAppearanceLarge" 81 android:text="Displays"/> 82 <Spinner 83 android:id="@+id/spinner_displays" 84 android:layout_width="wrap_content" android:layout_height="wrap_content"/> 85 </LinearLayout> 86 <Button 87 android:id="@+id/button_start_user" 88 android:layout_width="wrap_content" 89 android:layout_height="wrap_content" 90 android:layout_marginTop="10dp" 91 android:text="Start User"/> 92 <Button 93 android:id="@+id/button_switch_user" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:layout_marginTop="10dp" 97 android:text="Switch User"/> 98 </LinearLayout> 99 <Button 100 android:id="@+id/button_stop_user" 101 android:layout_width="wrap_content" 102 android:layout_height="wrap_content" 103 android:text="Stop User"/> 104 <LinearLayout android:layout_width="match_parent" 105 android:layout_height="wrap_content" 106 android:layout_marginBottom="5dp" 107 android:orientation="horizontal" > 108 <TextView 109 android:id="@+id/textView_name" 110 android:layout_width="wrap_content" 111 android:layout_height="wrap_content" android:text="Name: "/> 112 <EditText 113 android:id="@+id/new_user_name" 114 android:layout_width="300dp" 115 android:layout_height="wrap_content" 116 android:maxLength="50" 117 android:text=""/> 118 <Button 119 android:id="@+id/button_create_user" 120 android:layout_width="wrap_content" 121 android:layout_height="wrap_content" 122 android:text="Create User"/> 123 </LinearLayout> 124 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 125 android:layout_width="match_parent" 126 android:layout_height="wrap_content" 127 android:orientation="horizontal" > 128 <TextView 129 android:layout_width="wrap_content" 130 android:layout_height="wrap_content" 131 android:textSize="32sp" 132 android:textAppearance="?android:textAppearanceLarge" 133 android:text="@string/status_message_title"/> 134 <TextView 135 android:id="@+id/status_message_text_view" 136 android:paddingLeft="10dp" 137 android:layout_width="wrap_content" 138 android:layout_height="wrap_content" 139 android:text=""/> 140 </LinearLayout> 141 142</LinearLayout> 143