1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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 style="?attr/fingerprint_layout_theme" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 > 26 27 <LinearLayout 28 xmlns:android="http://schemas.android.com/apk/res/android" 29 android:id="@+id/content_view" 30 style="@style/SudContentFrame" 31 android:layout_width="match_parent" 32 android:layout_height="match_parent" 33 android:clipChildren="false" 34 android:clipToPadding="false" 35 android:orientation="vertical"> 36 37 <LinearLayout 38 android:layout_width="match_parent" 39 android:layout_height="0dp" 40 android:layout_weight="1" 41 android:gravity="center" 42 android:orientation="vertical"> 43 44 <com.google.android.setupdesign.view.FillContentLayout 45 android:layout_width="@dimen/fingerprint_progress_bar_max_size" 46 android:layout_height="@dimen/fingerprint_progress_bar_max_size" 47 android:layout_marginVertical="24dp" 48 android:paddingTop="0dp" 49 android:paddingBottom="0dp"> 50 <com.android.settings.biometrics.fingerprint2.ui.enrollment.modules.enrolling.rfps.ui.widget.RFPSProgressBar 51 xmlns:android="http://schemas.android.com/apk/res/android" 52 android:id="@+id/fingerprint_progress_bar" 53 android:layout_width="match_parent" 54 android:layout_height="match_parent" 55 android:background="@drawable/fp_illustration" 56 android:minHeight="@dimen/fingerprint_progress_bar_min_size" 57 android:progress="0" 58 /> 59 60 </com.google.android.setupdesign.view.FillContentLayout> 61 62 <TextView 63 android:id="@+id/text" 64 style="@style/TextAppearance.ErrorText" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:layout_gravity="center_horizontal|bottom" 68 android:accessibilityLiveRegion="polite" 69 android:gravity="center" 70 android:visibility="invisible" /> 71 72 </LinearLayout> 73 74 </LinearLayout> 75 76</com.google.android.setupdesign.GlifLayout>