1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 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 <com.android.setupwizardlib.SetupWizardLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/setup_wizard_layout" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 style="?attr/fingerprint_layout_theme"> 23 24 <LinearLayout 25 style="@style/SuwContentFrame" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:orientation="vertical" 29 android:clipToPadding="false" 30 android:clipChildren="false"> 31 32 <TextView 33 style="@style/TextAppearance.FingerprintMessage" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_marginTop="@dimen/suw_description_margin_top" 37 android:layout_marginBottom="@dimen/suw_description_margin_top" 38 android:text="@string/security_settings_fingerprint_enroll_onboard_message"/> 39 40 <LinearLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:orientation="horizontal" 44 android:paddingTop="12dp" 45 android:paddingBottom="12dp"> 46 47 <ImageView 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:layout_gravity="center_vertical" 51 android:layout_marginEnd="24dp" 52 android:importantForAccessibility="no" 53 android:src="@drawable/ic_check" 54 android:tint="?android:attr/textColorPrimary" /> 55 56 <TextView 57 style="@style/TextAppearance.FingerprintMessage" 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content" 60 android:layout_gravity="center_vertical" 61 android:text="@string/security_settings_fingerprint_enroll_onboard_message_1"/> 62 63 </LinearLayout> 64 65 <LinearLayout 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:orientation="horizontal" 69 android:paddingTop="12dp" 70 android:paddingBottom="12dp"> 71 72 <ImageView 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_gravity="center_vertical" 76 android:layout_marginEnd="24dp" 77 android:importantForAccessibility="no" 78 android:src="@drawable/ic_check" 79 android:tint="?android:attr/textColorPrimary" /> 80 81 <TextView 82 style="@style/TextAppearance.FingerprintMessage" 83 android:layout_width="match_parent" 84 android:layout_height="wrap_content" 85 android:layout_gravity="center_vertical" 86 android:text="@string/security_settings_fingerprint_enroll_onboard_message_2"/> 87 88 </LinearLayout> 89 90 <View 91 android:layout_height="0dp" 92 android:layout_width="match_parent" 93 android:layout_weight="1"/> 94 95 <Button 96 style="@style/Button.FingerprintButton" 97 android:id="@+id/next_button" 98 android:layout_width="wrap_content" 99 android:layout_height="wrap_content" 100 android:layout_marginBottom="4dp" 101 android:layout_marginEnd="-12dp" 102 android:layout_gravity="end" 103 android:gravity="end|center_vertical" 104 android:text="@string/security_settings_fingerprint_enroll_setup_screen_lock"/> 105 106 </LinearLayout> 107 108 </com.android.setupwizardlib.SetupWizardLayout> 109