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.google.android.setupdesign.GlifLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:id="@+id/setup_wizard_layout" 22 android:layout_width="match_parent" 23 android:layout_height="match_parent" 24 style="?attr/fingerprint_layout_theme"> 25 26 <LinearLayout 27 style="@style/SudContentFrame" 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:clipToPadding="false" 31 android:clipChildren="false" 32 android:orientation="vertical"> 33 34 <LinearLayout 35 android:layout_width="match_parent" 36 android:layout_height="0dp" 37 android:layout_weight="1" 38 android:gravity="center|bottom" 39 android:orientation="vertical"> 40 41 <FrameLayout 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:clipChildren="false" 45 android:clipToPadding="false" 46 android:layout_gravity="center_horizontal|bottom"> 47 48 <!-- Animation res MUST be set in code --> 49 <com.airbnb.lottie.LottieAnimationView 50 android:id="@+id/illustration_lottie" 51 android:layout_width="match_parent" 52 android:layout_height="200dp" 53 android:layout_marginTop="@dimen/udfps_lottie_translate_y" 54 android:scaleType="centerInside" 55 android:visibility="gone" 56 app:lottie_autoPlay="true" 57 app:lottie_loop="true" 58 android:clipChildren="false" 59 android:clipToPadding="false" 60 app:lottie_speed=".85" /> 61 </FrameLayout> 62 63 <TextView 64 android:id="@+id/error_text" 65 style="@style/TextAppearance.ErrorText" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:layout_gravity="center_horizontal|bottom" 69 android:accessibilityLiveRegion="polite" 70 android:gravity="center_horizontal" 71 android:visibility="invisible" /> 72 </LinearLayout> 73 </LinearLayout> 74 75</com.google.android.setupdesign.GlifLayout> 76