1<!--
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
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:paddingLeft="16dp"
21    android:paddingRight="16dp"
22    android:orientation="vertical" >
23    <LinearLayout
24        android:layout_marginTop="40dp"
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27        android:paddingLeft="16dp"
28        android:paddingRight="16dp"
29        android:orientation="horizontal" >
30        <TextView
31            android:id="@+id/current_user_title"
32            android:layout_height="wrap_content"
33            android:layout_width="wrap_content"
34            android:text="@string/current_user_title" />
35        <TextView
36            android:layout_marginStart="20dp"
37            android:id="@+id/this_user"
38            android:layout_height="wrap_content"
39            android:layout_width="wrap_content"
40            android:text="@string/this_user" />
41    </LinearLayout>
42    <LinearLayout
43        android:layout_marginTop="40dp"
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:paddingLeft="16dp"
47        android:paddingRight="16dp"
48        android:orientation="horizontal" >
49        <Button
50            android:id="@+id/reboot"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            android:text="@string/reboot" />
54    </LinearLayout>
55    <LinearLayout
56        android:layout_marginTop="40dp"
57        android:layout_width="wrap_content"
58        android:layout_height="wrap_content"
59        android:paddingLeft="16dp"
60        android:paddingRight="16dp"
61        android:orientation="horizontal" >
62        <TextView
63            android:id="@+id/add_user_restriction_title"
64            android:layout_height="wrap_content"
65            android:layout_width="wrap_content"
66            android:text="@string/add_user_restriction" />
67        <EditText
68            android:id="@+id/edit_user_id"
69            android:layout_height="wrap_content"
70            android:layout_width="300dp"
71            android:inputType="text"
72            android:hint="@string/user_id"
73            android:autofillHints="@string/user_id" />
74        <EditText
75            android:id="@+id/edit_key"
76            android:layout_height="wrap_content"
77            android:layout_width="600dp"
78            android:inputType="text"
79            android:hint="@string/key"
80            android:autofillHints="@string/key" />
81        <Button
82            android:id="@+id/add_user_restriction_button"
83            android:layout_width="wrap_content"
84            android:layout_height="wrap_content"
85            android:text="@string/submit" />
86    </LinearLayout>
87    <LinearLayout
88        android:layout_marginTop="40dp"
89        android:layout_width="wrap_content"
90        android:layout_height="wrap_content"
91        android:paddingLeft="16dp"
92        android:paddingRight="16dp"
93        android:orientation="horizontal" >
94        <TextView
95            android:id="@+id/get_user_restriction_title"
96            android:layout_height="wrap_content"
97            android:layout_width="wrap_content"
98            android:text="@string/get_user_restrictions" />
99        <Button
100            android:id="@+id/get_user_restriction_button"
101            android:layout_width="wrap_content"
102            android:layout_height="wrap_content"
103            android:paddingLeft="16dp"
104            android:paddingRight="16dp"
105            android:text="@string/submit" />
106    </LinearLayout>
107    <LinearLayout
108        android:layout_marginTop="40dp"
109        android:layout_width="wrap_content"
110        android:layout_height="wrap_content"
111        android:paddingLeft="16dp"
112        android:paddingRight="16dp"
113        android:orientation="horizontal" >
114        <TextView
115            android:id="@+id/display_user_restriction_title"
116            android:layout_height="wrap_content"
117            android:layout_width="wrap_content"
118            android:text="@string/display_user_restrictions" />
119    </LinearLayout>
120</LinearLayout>