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