Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 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 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="match_parent" |
| 19 | android:orientation="vertical"> |
Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 20 | |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 21 | <ScrollView android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
| 23 | android:orientation="vertical"> |
Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 24 | |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 25 | <LinearLayout |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="match_parent" |
| 28 | android:orientation="vertical"> |
Kevin Chyn | 4cd8d54 | 2020-02-04 14:24:18 -0800 | [diff] [blame] | 29 | |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 30 | <TextView |
| 31 | style="@style/InstructionsFont" |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:layout_alignParentTop="true" |
| 35 | android:gravity="center" |
| 36 | android:text="@string/biometric_test_weak_instructions" /> |
Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 37 | |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 38 | <Button |
| 39 | android:id="@+id/biometric_test_weak_enroll_button" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_centerInParent="true" |
| 43 | android:text="@string/biometric_test_weak_enroll"/> |
Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 44 | |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 45 | <Button |
| 46 | android:id="@+id/biometric_test_weak_authenticate_button" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:layout_centerInParent="true" |
| 50 | android:text="@string/biometric_test_weak_authenticate" |
| 51 | android:enabled="false"/> |
| 52 | |
| 53 | <Button |
Kevin Chyn | b2275b3 | 2020-03-19 16:45:09 -0700 | [diff] [blame] | 54 | android:id="@+id/biometric_test_weak_authenticate_time_based_keys_button" |
| 55 | android:layout_width="match_parent" |
| 56 | android:layout_height="wrap_content" |
| 57 | android:layout_centerInParent="true" |
| 58 | android:text="@string/biometric_test_weak_authenticate_time_based_keys" |
| 59 | android:enabled="false"/> |
| 60 | |
| 61 | <Button |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 62 | android:id="@+id/authenticate_credential_setDeviceCredentialAllowed_biometric_button" |
| 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:layout_centerInParent="true" |
| 66 | android:text="@string/biometric_test_authenticate_with_credential1_button" |
| 67 | android:enabled="false"/> |
| 68 | <Button |
| 69 | android:id="@+id/authenticate_credential_setDeviceCredentialAllowed_credential_button" |
| 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:layout_centerInParent="true" |
| 73 | android:text="@string/biometric_test_authenticate_with_credential2_button" |
| 74 | android:enabled="false"/> |
| 75 | <Button |
| 76 | android:id="@+id/authenticate_credential_setAllowedAuthenticators_credential_button" |
| 77 | android:layout_width="match_parent" |
| 78 | android:layout_height="wrap_content" |
| 79 | android:layout_centerInParent="true" |
| 80 | android:text="@string/biometric_test_authenticate_with_credential3_button" |
| 81 | android:enabled="false"/> |
| 82 | <Button |
| 83 | android:id="@+id/authenticate_invalid_inputs" |
| 84 | android:layout_width="match_parent" |
| 85 | android:layout_height="wrap_content" |
| 86 | android:layout_centerInParent="true" |
| 87 | android:text="@string/biometric_test_invalid_inputs" |
| 88 | android:enabled="false"/> |
Kevin Chyn | 05288a7 | 2020-02-05 15:22:19 -0800 | [diff] [blame] | 89 | <Button |
| 90 | android:id="@+id/authenticate_reject_first" |
| 91 | android:layout_width="match_parent" |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_centerInParent="true" |
| 94 | android:text="@string/biometric_test_reject_first" |
| 95 | android:enabled="false"/> |
Kevin Chyn | e8569bf | 2020-03-17 14:24:12 -0700 | [diff] [blame] | 96 | <Button |
| 97 | android:id="@+id/authenticate_negative_button_button" |
| 98 | android:layout_width="match_parent" |
| 99 | android:layout_height="wrap_content" |
| 100 | android:layout_centerInParent="true" |
| 101 | android:text="@string/biometric_test_negative_button_button" |
| 102 | android:enabled="false"/> |
Kevin Chyn | e97945f | 2020-03-24 12:10:18 -0700 | [diff] [blame] | 103 | <Button |
| 104 | android:id="@+id/authenticate_cancellation_button" |
| 105 | android:layout_width="match_parent" |
| 106 | android:layout_height="wrap_content" |
| 107 | android:layout_centerInParent="true" |
| 108 | android:text="@string/biometric_test_cancellation_button" |
| 109 | android:enabled="false"/> |
Kevin Chyn | 7a5dd11 | 2020-02-04 16:44:01 -0800 | [diff] [blame] | 110 | |
| 111 | <Space |
| 112 | android:layout_width="match_parent" |
| 113 | android:layout_height="0dp" |
| 114 | android:layout_weight="1"/> |
| 115 | |
| 116 | <include |
| 117 | layout="@layout/pass_fail_buttons" |
| 118 | android:layout_width="match_parent" |
| 119 | android:layout_height="wrap_content"/> |
| 120 | |
| 121 | </LinearLayout> |
| 122 | |
| 123 | </ScrollView> |
Kevin Chyn | e1d2b33 | 2020-01-31 17:03:51 -0800 | [diff] [blame] | 124 | |
| 125 | </LinearLayout> |