blob: c9ab4b539e050c3503f90a2649848ce13d079ce4 [file] [log] [blame]
Kevin Chyne1d2b332020-01-31 17:03:51 -08001<?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 Chyne1d2b332020-01-31 17:03:51 -080020
Kevin Chyn7a5dd112020-02-04 16:44:01 -080021 <ScrollView android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:orientation="vertical">
Kevin Chyne1d2b332020-01-31 17:03:51 -080024
Kevin Chyn7a5dd112020-02-04 16:44:01 -080025 <LinearLayout
26 android:layout_width="match_parent"
27 android:layout_height="match_parent"
28 android:orientation="vertical">
Kevin Chyn4cd8d542020-02-04 14:24:18 -080029
Kevin Chyn7a5dd112020-02-04 16:44:01 -080030 <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 Chyne1d2b332020-01-31 17:03:51 -080037
Kevin Chyn7a5dd112020-02-04 16:44:01 -080038 <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 Chyne1d2b332020-01-31 17:03:51 -080044
Kevin Chyn7a5dd112020-02-04 16:44:01 -080045 <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 Chynb2275b32020-03-19 16:45:09 -070054 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 Chyn7a5dd112020-02-04 16:44:01 -080062 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 Chyn05288a72020-02-05 15:22:19 -080089 <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 Chyne8569bf2020-03-17 14:24:12 -070096 <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 Chyne97945f2020-03-24 12:10:18 -0700103 <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 Chyn7a5dd112020-02-04 16:44:01 -0800110
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 Chyne1d2b332020-01-31 17:03:51 -0800124
125</LinearLayout>