1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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 android:id="@+id/setup_wizard_layout" 21 style="?attr/fingerprint_layout_theme" 22 android:layout_width="match_parent" 23 android:layout_height="match_parent"> 24 25 <LinearLayout 26 style="@style/SudContentFrame" 27 android:id="@+id/enroll_intro_content_view" 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 style="@style/BiometricEnrollIntroTitle" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 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 78 <Space 79 android:layout_width="16dp" 80 android:layout_height="wrap_content" /> 81 82 <TextView 83 android:id="@+id/footer_message_2" 84 style="@style/BiometricEnrollIntroMessage" 85 android:layout_width="match_parent" 86 android:layout_height="wrap_content" /> 87 </LinearLayout> 88 89 <LinearLayout 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:orientation="horizontal"> 93 94 <ImageView 95 android:id="@+id/icon_device_locked" 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:contentDescription="@null" 99 android:src="@drawable/ic_lock_24dp" /> 100 101 <Space 102 android:layout_width="16dp" 103 android:layout_height="wrap_content" /> 104 105 <TextView 106 android:id="@+id/footer_message_3" 107 style="@style/BiometricEnrollIntroMessage" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content" /> 110 </LinearLayout> 111 112 <!-- You're in control --> 113 <TextView 114 android:id="@+id/footer_title_1" 115 style="@style/BiometricEnrollIntroTitle" 116 android:layout_width="match_parent" 117 android:layout_height="wrap_content" /> 118 119 <LinearLayout 120 android:layout_width="match_parent" 121 android:layout_height="wrap_content" 122 android:orientation="horizontal"> 123 124 <ImageView 125 android:id="@+id/icon_trash_can" 126 android:layout_width="wrap_content" 127 android:layout_height="wrap_content" 128 android:contentDescription="@null" 129 android:src="@drawable/ic_trash_can" /> 130 131 <Space 132 android:layout_width="16dp" 133 android:layout_height="wrap_content" /> 134 135 <TextView 136 android:id="@+id/footer_message_4" 137 style="@style/BiometricEnrollIntroMessage" 138 android:layout_width="match_parent" 139 android:layout_height="wrap_content" /> 140 </LinearLayout> 141 142 <!-- Keep in mind --> 143 <TextView 144 android:id="@+id/footer_title_2" 145 style="@style/BiometricEnrollIntroTitle" 146 android:layout_width="match_parent" 147 android:layout_height="wrap_content" 148 android:text="@string/security_settings_face_enroll_introduction_info_title" /> 149 150 <LinearLayout 151 android:layout_width="match_parent" 152 android:layout_height="wrap_content" 153 android:orientation="horizontal"> 154 155 <ImageView 156 android:id="@+id/icon_info" 157 android:layout_width="wrap_content" 158 android:layout_height="wrap_content" 159 android:contentDescription="@null" 160 android:src="@drawable/ic_info_outline_24dp" /> 161 162 <Space 163 android:layout_width="16dp" 164 android:layout_height="wrap_content" /> 165 166 <TextView 167 android:id="@+id/footer_message_5" 168 style="@style/BiometricEnrollIntroMessage" 169 android:layout_width="match_parent" 170 android:layout_height="wrap_content" /> 171 </LinearLayout> 172 173 <LinearLayout 174 android:layout_width="match_parent" 175 android:layout_height="wrap_content" 176 android:orientation="horizontal"> 177 178 <ImageView 179 android:id="@+id/icon_shield" 180 android:layout_width="wrap_content" 181 android:layout_height="wrap_content" 182 android:contentDescription="@null" 183 android:src="@drawable/ic_guarantee" /> 184 185 <Space 186 android:layout_width="16dp" 187 android:layout_height="wrap_content" /> 188 189 <TextView 190 android:id="@+id/footer_message_6" 191 style="@style/BiometricEnrollIntroMessage" 192 android:layout_width="match_parent" 193 android:layout_height="wrap_content" /> 194 </LinearLayout> 195 196 <LinearLayout 197 android:layout_width="match_parent" 198 android:layout_height="wrap_content" 199 android:orientation="horizontal"> 200 201 <ImageView 202 android:id="@+id/icon_link" 203 android:layout_width="wrap_content" 204 android:layout_height="wrap_content" 205 android:contentDescription="@null" 206 android:src="@drawable/ic_link_24dp" /> 207 208 <Space 209 android:layout_width="16dp" 210 android:layout_height="wrap_content" /> 211 212 <TextView 213 android:id="@+id/footer_learn_more" 214 style="@style/BiometricEnrollIntroMessage" 215 android:layout_width="match_parent" 216 android:layout_height="wrap_content" 217 android:linksClickable="true" 218 android:paddingBottom="0dp" 219 android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" /> 220 </LinearLayout> 221 222 </LinearLayout> 223 224 </LinearLayout> 225 226</com.google.android.setupdesign.GlifLayout>