1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 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.android.settings.biometrics.fingerprint.UdfpsEnrollEnrollingView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    xmlns:tools="http://schemas.android.com/tools"
22    android:id="@+id/setup_wizard_layout"
23    android:layout_width="match_parent"
24    android:layout_height="match_parent"
25    style="?attr/fingerprint_layout_theme">
26
27    <androidx.constraintlayout.widget.ConstraintLayout
28        style="@style/SudContentFrame"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:clipToPadding="false"
32        android:clipChildren="false">
33
34        <com.airbnb.lottie.LottieAnimationView
35            android:id="@+id/illustration_lottie"
36            android:layout_width="match_parent"
37            android:layout_height="200dp"
38            app:layout_constraintTop_toTopOf="@id/udfps_view"
39            android:scaleType="centerInside"
40            android:visibility="gone"
41            app:lottie_autoPlay="true"
42            app:lottie_loop="true"
43            android:clipChildren="false"
44            android:clipToPadding="false"
45            app:lottie_speed=".85" />
46
47        <LinearLayout
48            style="@style/SudContentFrame"
49            android:id="@+id/udfps_view"
50            android:layout_width="match_parent"
51            android:layout_height="match_parent"
52            android:clipToPadding="false"
53            android:clipChildren="false"
54            android:orientation="vertical">
55
56            <LinearLayout
57                android:layout_width="match_parent"
58                android:layout_height="0dp"
59                android:layout_weight="1"
60                android:gravity="center|bottom"
61                android:orientation="vertical">
62
63                <FrameLayout
64                    android:id="@+id/layout_container"
65                    android:layout_width="match_parent"
66                    android:layout_height="0dp"
67                    android:clipChildren="false"
68                    android:clipToPadding="false"
69                    android:layout_gravity="center_horizontal|bottom"
70                    tools:ignore="Suspicious0dp">
71
72                    <include layout="@layout/udfps_enroll_view" />
73
74                </FrameLayout>
75
76                <TextView
77                    android:id="@+id/error_text"
78                    style="@style/TextAppearance.ErrorText"
79                    android:layout_width="wrap_content"
80                    android:layout_height="wrap_content"
81                    android:layout_gravity="center_horizontal|bottom"
82                    android:accessibilityLiveRegion="polite"
83                    android:gravity="center_horizontal"
84                    android:visibility="invisible" />
85            </LinearLayout>
86        </LinearLayout>
87    </androidx.constraintlayout.widget.ConstraintLayout>
88
89</com.android.settings.biometrics.fingerprint.UdfpsEnrollEnrollingView>
90