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<RelativeLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:id="@+id/suw_lift" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent"> 23 24 <ImageView 25 android:id="@+id/sud_layout_icon" 26 style="@style/SudGlifIcon" 27 android:layout_marginStart="48dp" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:layout_alignParentStart="true" 31 android:layout_alignParentTop="true" 32 android:layout_marginTop="68dp" 33 android:scaleType="fitStart" 34 android:src="@drawable/ic_lock" /> 35 36 <TextView 37 style="@style/SudGlifHeaderTitle" 38 android:id="@+id/suc_layout_title" 39 android:layout_alignParentTop="true" 40 android:layout_alignParentStart="true" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:layout_marginTop="138dp" 44 android:layout_marginStart="40dp" 45 android:layout_marginEnd="24dp"/> 46 47 <TextView 48 style="@style/SudDescription.Glif" 49 android:id="@+id/sud_layout_subtitle" 50 android:layout_alignParentTop="true" 51 android:layout_alignParentStart="true" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_marginTop="206dp" 55 android:layout_marginStart="40dp" 56 android:layout_marginEnd="24dp"/> 57 58 <com.airbnb.lottie.LottieAnimationView 59 android:id="@+id/illustration_lottie" 60 android:layout_width="match_parent" 61 android:layout_height="200dp" 62 android:layout_alignParentTop="true" 63 android:layout_alignParentStart="true" 64 android:layout_marginTop="206dp" 65 android:layout_marginStart="16dp" 66 android:layout_marginEnd="17dp" 67 android:scaleType="centerInside" 68 android:visibility="gone" 69 app:lottie_autoPlay="true" 70 app:lottie_loop="true" 71 app:lottie_speed=".85" /> 72 73 <com.android.settings.biometrics2.ui.widget.UdfpsEnrollView 74 android:id="@+id/udfps_animation_view" 75 android:layout_width="218.42dp" 76 android:layout_height="216dp" 77 android:layout_alignParentTop="true" 78 android:layout_centerHorizontal="true" 79 android:layout_marginTop="553dp"> 80 81 <ImageView 82 android:id="@+id/udfps_enroll_animation_fp_progress_view" 83 android:layout_width="match_parent" 84 android:layout_height="match_parent" /> 85 86 <!-- Fingerprint --> 87 <ImageView 88 android:id="@+id/udfps_enroll_animation_fp_view" 89 android:layout_width="match_parent" 90 android:layout_height="match_parent" /> 91 </com.android.settings.biometrics2.ui.widget.UdfpsEnrollView> 92 93 <Button 94 style="@style/SudGlifButton.Secondary" 95 android:id="@+id/skip_btn" 96 android:text="@string/security_settings_fingerprint_enroll_enrolling_skip" 97 android:layout_alignParentBottom="true" 98 android:layout_alignParentStart="true" 99 android:layout_marginBottom="26dp" 100 android:layout_marginStart="66dp" 101 android:layout_width="wrap_content" 102 android:layout_height="wrap_content"/> 103 104</RelativeLayout>