1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 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<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:id="@+id/udfps_layout" 22 android:layout_width="match_parent" 23 android:layout_height="match_parent" 24 android:orientation="vertical"> 25 26 <!-- This is used to grab style attributes and apply them 27 to this layout --> 28 <com.google.android.setupdesign.GlifLayout 29 android:id="@+id/glif_layout" 30 style="?attr/fingerprint_layout_theme" 31 android:layout_width="match_parent" 32 android:layout_height="0dp" 33 android:layout_weight="5" 34 > 35 36 <LinearLayout 37 style="@style/SudContentFrame" 38 android:id="@+id/sud_content_frame" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 > 42 43 <com.airbnb.lottie.LottieAnimationView 44 android:id="@+id/illustration_lottie" 45 android:layout_width="match_parent" 46 android:layout_height="200dp" 47 android:clipChildren="false" 48 android:clipToPadding="false" 49 android:paddingLeft="10dp" 50 android:paddingRight="10dp" 51 android:scaleType="centerInside" 52 app:lottie_autoPlay="true" 53 app:lottie_loop="true" 54 app:lottie_speed=".85" /> 55 </LinearLayout> 56 </com.google.android.setupdesign.GlifLayout> 57 58 <FrameLayout 59 android:id="@+id/layout_container" 60 android:layout_width="match_parent" 61 android:layout_height="0dp" 62 android:layout_gravity="center_horizontal|bottom" 63 android:layout_weight="4" 64 android:clipToPadding="false" 65 android:clipChildren="false" 66 > 67 68 <include layout="@layout/fingerprint_v2_udfps_enroll_view" /> 69 70 <Button 71 android:id="@+id/skip" 72 style="@style/SudGlifButton.Secondary" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_gravity="bottom|left" 76 android:layout_marginStart="20dp" 77 android:layout_marginBottom="20dp" 78 android:text="@string/security_settings_fingerprint_enroll_enrolling_skip" /> 79 80 </FrameLayout> 81 82</LinearLayout> 83