1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2014 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License") 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<!-- Used in phone portrait and tablet, as referenced in alias.xml. --> 19<com.google.android.setupdesign.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 android:icon="@drawable/ic_lock"> 25 26 <!-- takes up all space above button bar at bottom --> 27 <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient 28 android:id="@+id/topLayout" 29 style="@style/SudContentFrame" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 android:gravity="center" 33 android:clipChildren="false" 34 android:clipToPadding="false" 35 android:orientation="vertical" 36 android:paddingLeft="0dp" 37 android:paddingRight="0dp"> 38 39 <com.google.android.setupdesign.view.FillContentLayout 40 style="@style/LockPatternContainerStyle" 41 android:layout_width="wrap_content" 42 android:layout_height="0dp" 43 android:layout_weight="1"> 44 45 <com.android.internal.widget.LockPatternView 46 android:id="@+id/lockPattern" 47 android:layout_width="@dimen/biometric_auth_pattern_view_size" 48 android:layout_height="@dimen/biometric_auth_pattern_view_size" 49 android:layout_gravity="center"/> 50 51 </com.google.android.setupdesign.view.FillContentLayout> 52 53 <TextView android:id="@+id/footerText" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:layout_gravity="center_horizontal" 57 android:minHeight="24dp" 58 android:textSize="14sp" 59 android:visibility="gone"/> 60 61 </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> 62 63</com.google.android.setupdesign.GlifLayout> 64