1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 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:orientation="vertical" >
21    <TextView
22        android:layout_width="wrap_content"
23        android:layout_height="wrap_content"
24        android:layout_marginBottom="50dp"
25        android:text="@string/description"/>
26
27    <LinearLayout android:orientation="horizontal"
28        android:id="@+id/errors_container"
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_marginBottom="20dp"
32        android:visibility="invisible" >
33        <TextView
34            android:layout_width="wrap_content"
35            android:layout_height="wrap_content"
36            android:layout_marginRight="20dp"
37            android:text="@string/error_prompt"/>
38        <TextView
39            android:id="@+id/error_message"
40            android:layout_width="wrap_content"
41            android:layout_height="wrap_content"/>
42    </LinearLayout>
43
44    <LinearLayout android:orientation="vertical"
45        android:layout_width="match_parent"
46        android:layout_height="wrap_content">
47        <TextView
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:layout_marginRight="50dp"
51            android:text="@string/provision_device"/>
52        <LinearLayout android:orientation="horizontal"
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content">
55            <Spinner android:id="@+id/dpc_apps"
56                 android:layout_width="wrap_content"
57                 android:layout_height="wrap_content"
58                 android:prompt="@string/select_dpc" />
59            <Button
60                android:id="@+id/legacy_provision_workflow"
61                android:layout_width="wrap_content"
62                android:layout_height="wrap_content"
63                android:text="@string/legacy_provision_workflow"
64                android:enabled="false"/>
65            <Button
66                android:id="@+id/provision_workflow"
67                android:layout_width="wrap_content"
68                android:layout_height="wrap_content"
69                android:text="@string/provision_workflow"
70                android:enabled="false"/>
71        </LinearLayout>
72    </LinearLayout>
73
74    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
75                  android:layout_marginTop="50dp"
76                  android:layout_width="match_parent"
77                  android:layout_height="wrap_content"
78                  android:orientation="horizontal" >
79        <Button
80            android:id="@+id/finish_setup"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            android:text="@string/finish_setup"/>
84        <Button
85            android:id="@+id/factory_reset"
86            android:layout_width="wrap_content"
87            android:layout_height="wrap_content"
88            android:text="@string/factory_reset"/>
89    </LinearLayout>
90</LinearLayout>
91