91 lines
3.7 KiB
XML
91 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="50dp"
|
|
android:text="@string/description"/>
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:id="@+id/errors_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:visibility="invisible" >
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="20dp"
|
|
android:text="@string/error_prompt"/>
|
|
<TextView
|
|
android:id="@+id/error_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="50dp"
|
|
android:text="@string/provision_device"/>
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<Spinner android:id="@+id/dpc_apps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:prompt="@string/select_dpc" />
|
|
<Button
|
|
android:id="@+id/legacy_provision_workflow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/legacy_provision_workflow"
|
|
android:enabled="false"/>
|
|
<Button
|
|
android:id="@+id/provision_workflow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/provision_workflow"
|
|
android:enabled="false"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_marginTop="50dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
<Button
|
|
android:id="@+id/finish_setup"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/finish_setup"/>
|
|
<Button
|
|
android:id="@+id/factory_reset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/factory_reset"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|