1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2020 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:fitsSystemWindows="true" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical"> 22 23 <ScrollView android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:orientation="vertical"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:orientation="vertical"> 31 32 <TextView 33 style="@style/InstructionsFont" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_alignParentTop="true" 37 android:gravity="center" 38 android:text="@string/biometric_test_strong_instructions" /> 39 40 <Button 41 android:id="@+id/check_and_enroll_button" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:layout_centerInParent="true" 45 android:text="@string/biometric_test_strong_check_and_enroll_button"/> 46 <Button 47 android:id="@+id/authenticate_no_strongbox_button" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:layout_centerInParent="true" 51 android:text="@string/biometric_test_strong_authenticate_no_strongbox_button" 52 android:enabled="false"/> 53 <Button 54 android:id="@+id/authenticate_strongbox_button" 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:layout_centerInParent="true" 58 android:text="@string/biometric_test_strong_authenticate_strongbox_button" 59 android:enabled="false"/> 60 <Button 61 android:id="@+id/authenticate_key_invalidated_button" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 64 android:layout_centerInParent="true" 65 android:text="@string/biometric_test_strong_authenticate_invalidated_button" 66 android:enabled="false"/> 67 68 <Space 69 android:layout_width="match_parent" 70 android:layout_height="0dp" 71 android:layout_weight="1"/> 72 73 <include 74 layout="@layout/pass_fail_buttons" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content"/> 77 78 </LinearLayout> 79 80 </ScrollView> 81 82</LinearLayout> 83