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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:fitsSystemWindows="true" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical"> 23 24 <ScrollView android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:orientation="vertical"> 27 28 <LinearLayout 29 android:layout_width="match_parent" 30 android:layout_height="match_parent" 31 android:orientation="vertical"> 32 33 <TextView 34 style="@style/InstructionsFont" 35 android:id="@+id/instructions" 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:layout_alignParentTop="true" 39 android:gravity="center" /> 40 41 <!-- This section contains tests that will be repeated again below with/without strongbox --> 42 43 <Button 44 android:id="@+id/per_use_auth_with_credential" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:layout_centerInParent="true" 48 android:text="@string/biometric_test_set_user_authentication_credential_per_use_auth_with_credential"/> 49 50 <Button 51 android:id="@+id/duration_auth_with_credential" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_centerInParent="true" 55 android:text="@string/biometric_test_set_user_authentication_credential_duration_auth_with_credential"/> 56 57 <Button 58 android:id="@+id/per_use_auth_with_biometric" 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:layout_centerInParent="true" 62 android:text="@string/biometric_test_set_user_authentication_credential_per_use_auth_with_biometric"/> 63 64 <Button 65 android:id="@+id/duration_auth_with_biometric" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:layout_centerInParent="true" 69 android:text="@string/biometric_test_set_user_authentication_credential_duration_auth_with_biometric"/> 70 71 <!-- The below are the same as above, except with strongbox --> 72 73 <Button 74 android:id="@+id/per_use_auth_with_credential_strongbox" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:layout_centerInParent="true" 78 android:text="@string/biometric_test_set_user_authentication_credential_per_use_auth_with_credential_strongbox"/> 79 80 <Button 81 android:id="@+id/duration_auth_with_credential_strongbox" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:layout_centerInParent="true" 85 android:text="@string/biometric_test_set_user_authentication_credential_duration_auth_with_credential_strongbox"/> 86 87 <Button 88 android:id="@+id/per_use_auth_with_biometric_strongbox" 89 android:layout_width="match_parent" 90 android:layout_height="wrap_content" 91 android:layout_centerInParent="true" 92 android:text="@string/biometric_test_set_user_authentication_credential_per_use_auth_with_biometric_strongbox"/> 93 94 <Button 95 android:id="@+id/duration_auth_with_biometric_strongbox" 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:layout_centerInParent="true" 99 android:text="@string/biometric_test_set_user_authentication_credential_duration_auth_with_biometric_strongbox"/> 100 101 <Space 102 android:layout_width="match_parent" 103 android:layout_height="0dp" 104 android:layout_weight="1"/> 105 106 <include 107 layout="@layout/pass_fail_buttons" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content"/> 110 111 </LinearLayout> 112 113 </ScrollView> 114 115</LinearLayout> 116