1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /** 4 * Copyright (C) 2016 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 <com.android.setupwizardlib.GlifLayout 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/setup_wizard_layout" 22 android:layout_width="match_parent" 23 android:layout_height="match_parent"> 24 25 <LinearLayout 26 android:layout_marginLeft="?attr/suwMarginSides" 27 android:layout_marginRight="?attr/suwMarginSides" 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:orientation="vertical"> 31 32 <TextView 33 android:id="@+id/device_owner_terms_info" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_marginTop="@dimen/spacer_24" 37 style="@style/SuwDescription.Glif"/> 38 39 <TextView 40 android:id="@+id/device_owner_provider_info" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:layout_marginTop="@dimen/spacer_24" 44 android:visibility="gone" 45 style="@style/SuwDescription.Glif"/> 46 47 <LinearLayout 48 android:id="@+id/intro_device_owner_app_info_container" 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content" 51 android:orientation="vertical" 52 android:visibility="gone"> 53 54 <TextView 55 android:id="@+id/device_owner_app_info_text" 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" 58 android:layout_marginTop="@dimen/spacer_24" 59 android:layout_marginBottom="@dimen/spacer_12" 60 style="@style/SuwDescription.Glif"/> 61 62 <include layout="@layout/device_manager_icon_label"/> 63 </LinearLayout> 64 65 <Button 66 android:id="@+id/next_button" 67 android:layout_width="wrap_content" 68 android:layout_height="@dimen/intro_button_height" 69 android:layout_gravity="right" 70 android:layout_marginTop="@dimen/spacer_32" 71 android:text="@string/accept_and_continue" 72 style="@style/Provisioning2Theme.Button.Blue"/> 73 </LinearLayout> 74 </com.android.setupwizardlib.GlifLayout>