1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2015 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<com.google.android.setupdesign.GlifLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 style="?attr/fingerprint_layout_theme" 22 android:id="@+id/setup_wizard_layout" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent"> 25 26 <LinearLayout 27 style="@style/SudContentFrame" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:clipChildren="false" 31 android:clipToPadding="false" 32 android:orientation="vertical"> 33 34 <com.google.android.setupdesign.view.RichTextView 35 android:id="@+id/error_text" 36 style="@style/SudDescription.Glif" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" /> 39 40 <FrameLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content"> 43 44 <ImageView 45 style="@style/SudContentIllustration" 46 android:layout_width="match_parent" 47 android:layout_height="match_parent" 48 android:contentDescription="@null" 49 android:src="@drawable/fingerprint_enroll_introduction" /> 50 51 </FrameLayout> 52 53 <!-- Contains the extra information text at the bottom --> 54 <LinearLayout 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:orientation="vertical"> 58 59 <!-- How it works --> 60 <TextView 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content" 63 style="@style/BiometricEnrollIntroTitle" 64 android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" /> 65 66 <LinearLayout 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:orientation="horizontal"> 70 71 <ImageView 72 android:id="@+id/icon_fingerprint" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:contentDescription="@null" 76 android:src="@drawable/ic_fingerprint_24dp"/> 77 <Space 78 android:layout_width="16dp" 79 android:layout_height="wrap_content"/> 80 <TextView 81 android:id="@+id/footer_message_2" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 style="@style/BiometricEnrollIntroMessage" /> 85 </LinearLayout> 86 87 <LinearLayout 88 android:layout_width="match_parent" 89 android:layout_height="wrap_content" 90 android:orientation="horizontal"> 91 92 <ImageView 93 android:id="@+id/icon_device_locked" 94 android:layout_width="wrap_content" 95 android:layout_height="wrap_content" 96 android:contentDescription="@null" 97 android:src="@drawable/ic_lock_24dp"/> 98 <Space 99 android:layout_width="16dp" 100 android:layout_height="wrap_content"/> 101 <TextView 102 android:id="@+id/footer_message_3" 103 android:layout_width="match_parent" 104 android:layout_height="wrap_content" 105 style="@style/BiometricEnrollIntroMessage" /> 106 </LinearLayout> 107 108 <!-- You're in control --> 109 <TextView 110 android:id="@+id/footer_title_1" 111 android:layout_width="match_parent" 112 android:layout_height="wrap_content" 113 style="@style/BiometricEnrollIntroTitle" /> 114 115 <LinearLayout 116 android:layout_width="match_parent" 117 android:layout_height="wrap_content" 118 android:orientation="horizontal"> 119 120 <ImageView 121 android:id="@+id/icon_trash_can" 122 android:layout_width="wrap_content" 123 android:layout_height="wrap_content" 124 android:contentDescription="@null" 125 android:src="@drawable/ic_trash_can"/> 126 <Space 127 android:layout_width="16dp" 128 android:layout_height="wrap_content"/> 129 <TextView 130 android:id="@+id/footer_message_4" 131 android:layout_width="match_parent" 132 android:layout_height="wrap_content" 133 style="@style/BiometricEnrollIntroMessage" /> 134 </LinearLayout> 135 136 <!-- Keep in mind --> 137 <TextView 138 android:id="@+id/footer_title_2" 139 android:layout_width="match_parent" 140 android:layout_height="wrap_content" 141 style="@style/BiometricEnrollIntroTitle" 142 android:text="@string/security_settings_face_enroll_introduction_info_title"/> 143 144 <LinearLayout 145 android:layout_width="match_parent" 146 android:layout_height="wrap_content" 147 android:orientation="horizontal"> 148 149 <ImageView 150 android:id="@+id/icon_info" 151 android:layout_width="wrap_content" 152 android:layout_height="wrap_content" 153 android:contentDescription="@null" 154 android:src="@drawable/ic_info_outline_24dp"/> 155 <Space 156 android:layout_width="16dp" 157 android:layout_height="wrap_content"/> 158 <TextView 159 android:id="@+id/footer_message_5" 160 android:layout_width="match_parent" 161 android:layout_height="wrap_content" 162 style="@style/BiometricEnrollIntroMessage" /> 163 </LinearLayout> 164 165 <LinearLayout 166 android:layout_width="match_parent" 167 android:layout_height="wrap_content" 168 android:orientation="horizontal"> 169 170 <ImageView 171 android:id="@+id/icon_shield" 172 android:layout_width="wrap_content" 173 android:layout_height="wrap_content" 174 android:contentDescription="@null" 175 android:src="@drawable/ic_guarantee"/> 176 <Space 177 android:layout_width="16dp" 178 android:layout_height="wrap_content"/> 179 <TextView 180 android:id="@+id/footer_message_6" 181 android:layout_width="match_parent" 182 android:layout_height="wrap_content" 183 style="@style/BiometricEnrollIntroMessage" /> 184 </LinearLayout> 185 186 <LinearLayout 187 android:layout_width="match_parent" 188 android:layout_height="wrap_content" 189 android:orientation="horizontal"> 190 191 <ImageView 192 android:id="@+id/icon_link" 193 android:layout_width="wrap_content" 194 android:layout_height="wrap_content" 195 android:contentDescription="@null" 196 android:src="@drawable/ic_link_24dp"/> 197 <Space 198 android:layout_width="16dp" 199 android:layout_height="wrap_content"/> 200 <TextView 201 android:id="@+id/footer_learn_more" 202 android:linksClickable="true" 203 android:layout_width="match_parent" 204 android:layout_height="wrap_content" 205 style="@style/BiometricEnrollIntroMessage" 206 android:paddingBottom="0dp" 207 android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" /> 208 </LinearLayout> 209 210 </LinearLayout> 211 212 </LinearLayout> 213 214</com.google.android.setupdesign.GlifLayout> 215