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<!-- This is used to grab style attributes and apply them
18to this layout -->
19<com.google.android.setupdesign.GlifLayout
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    xmlns:app="http://schemas.android.com/apk/res-auto"
22    android:id="@+id/glif_layout"
23    style="?attr/fingerprint_layout_theme"
24    android:layout_width="match_parent"
25    android:clipChildren="false"
26    android:clipToPadding="false"
27    android:layout_height="match_parent"
28    >
29
30    <LinearLayout
31
32        style="@style/SudContentFrame"
33        android:layout_width="match_parent"
34        android:layout_height="match_parent"
35        android:clipChildren="false"
36        android:clipToPadding="false"
37        android:orientation="vertical"
38        >
39
40        <LinearLayout
41            android:layout_width="match_parent"
42            android:layout_height="0dp"
43            android:layout_weight="1"
44            android:gravity="center|bottom"
45            android:clipChildren="false"
46            android:clipToPadding="false"
47            android:orientation="vertical">
48
49            <FrameLayout
50                android:id="@+id/layout_container"
51                android:layout_width="match_parent"
52                android:layout_height="match_parent"
53                android:layout_gravity="center_horizontal|bottom"
54                android:clipChildren="false"
55                android:clipToPadding="false"
56                >
57
58                <com.airbnb.lottie.LottieAnimationView
59                    android:id="@+id/illustration_lottie"
60                    android:layout_width="0dp"
61                    android:layout_height="0dp"
62                    android:clipChildren="false"
63                    android:clipToPadding="false"
64                    android:scaleType="centerInside"
65                    android:visibility="gone"
66                    app:lottie_autoPlay="true"
67                    app:lottie_loop="true"
68                    app:lottie_speed=".85"
69                    />
70
71                <include layout="@layout/fingerprint_v2_udfps_enroll_view" />
72
73            </FrameLayout>
74        </LinearLayout>
75    </LinearLayout>
76</com.google.android.setupdesign.GlifLayout>
77
78
79