• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <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
35        <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
43              android:id="@+id/layout_container"
44              android:layout_width="match_parent"
45              android:layout_height="0dp"
46              android:clipChildren="false"
47              android:clipToPadding="false"
48              android:layout_gravity="center_horizontal|bottom"
49              tools:ignore="Suspicious0dp">
50
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" />
64
65              <include layout="@layout/udfps_enroll_view" />
66
67          </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>
79    </LinearLayout>
80
81</com.android.settings.biometrics.fingerprint.UdfpsEnrollEnrollingView>
82