blob: 366a87c4740e15526b6d172eee19f5a6983a7452 [file] [log] [blame]
Kevin Chynb07e2db2020-11-30 17:16:00 -08001<?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
Hao Dong2eadf682023-05-15 19:34:07 +000018<com.android.settings.biometrics.fingerprint.UdfpsEnrollEnrollingView
Kevin Chynb07e2db2020-11-30 17:16:00 -080019 xmlns:android="http://schemas.android.com/apk/res/android"
Joshua Mccloskey0902b442021-12-09 17:47:11 -080020 xmlns:app="http://schemas.android.com/apk/res-auto"
Hao Dongcddf2962023-05-10 21:48:07 +000021 xmlns:tools="http://schemas.android.com/tools"
Kevin Chynb07e2db2020-11-30 17:16:00 -080022 android:id="@+id/setup_wizard_layout"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
Kevin Chynb07e2db2020-11-30 17:16:00 -080025 style="?attr/fingerprint_layout_theme">
26
Mill Chen2ad549e2021-02-20 16:56:04 +080027 <LinearLayout
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 android:orientation="vertical">
34
Joshua Mccloskey0902b442021-12-09 17:47:11 -080035 <LinearLayout
36 android:layout_width="match_parent"
37 android:layout_height="0dp"
38 android:layout_weight="1"
39 android:gravity="center|bottom"
40 android:orientation="vertical">
41
42 <FrameLayout
Hao Dongaf35c7c2022-11-28 17:43:48 +000043 android:id="@+id/layout_container"
Joshua Mccloskey0902b442021-12-09 17:47:11 -080044 android:layout_width="match_parent"
Hao Dongcddf2962023-05-10 21:48:07 +000045 android:layout_height="0dp"
Joshua Mccloskey0902b442021-12-09 17:47:11 -080046 android:clipChildren="false"
47 android:clipToPadding="false"
Hao Dongcddf2962023-05-10 21:48:07 +000048 android:layout_gravity="center_horizontal|bottom"
49 tools:ignore="Suspicious0dp">
Joshua Mccloskey0902b442021-12-09 17:47:11 -080050
51 <!-- Animation res MUST be set in code -->
52 <com.airbnb.lottie.LottieAnimationView
53 android:id="@+id/illustration_lottie"
54 android:layout_width="match_parent"
55 android:layout_height="200dp"
56 android:layout_marginTop="@dimen/udfps_lottie_translate_y"
57 android:scaleType="centerInside"
58 android:visibility="gone"
59 app:lottie_autoPlay="true"
60 app:lottie_loop="true"
61 android:clipChildren="false"
62 android:clipToPadding="false"
63 app:lottie_speed=".85" />
Hao Dongcddf2962023-05-10 21:48:07 +000064
65 <include layout="@layout/udfps_enroll_view" />
66
Joshua Mccloskey0902b442021-12-09 17:47:11 -080067 </FrameLayout>
68
69 <TextView
70 android:id="@+id/error_text"
71 style="@style/TextAppearance.ErrorText"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_gravity="center_horizontal|bottom"
75 android:accessibilityLiveRegion="polite"
76 android:gravity="center_horizontal"
77 android:visibility="invisible" />
78 </LinearLayout>
Mill Chen2ad549e2021-02-20 16:56:04 +080079 </LinearLayout>
80
Hao Dong2eadf682023-05-15 19:34:07 +000081</com.android.settings.biometrics.fingerprint.UdfpsEnrollEnrollingView>