• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:layout_width="match_parent"
19              android:layout_height="match_parent"
20              android:orientation="vertical">
21
22    <ScrollView  android:layout_width="match_parent"
23                 android:layout_height="match_parent"
24                 android:orientation="vertical">
25
26        <LinearLayout
27            android:layout_width="match_parent"
28            android:layout_height="match_parent"
29            android:orientation="vertical">
30
31            <TextView
32                style="@style/InstructionsFont"
33                android:layout_width="match_parent"
34                android:layout_height="wrap_content"
35                android:layout_alignParentTop="true"
36                android:gravity="center"
37                android:text="@string/biometric_test_strong_instructions" />
38
39            <Button
40                android:id="@+id/check_and_enroll_button"
41                android:layout_width="match_parent"
42                android:layout_height="wrap_content"
43                android:layout_centerInParent="true"
44                android:text="@string/biometric_test_strong_check_and_enroll_button"/>
45            <Button
46                android:id="@+id/authenticate_no_strongbox_button"
47                android:layout_width="match_parent"
48                android:layout_height="wrap_content"
49                android:layout_centerInParent="true"
50                android:text="@string/biometric_test_strong_authenticate_no_strongbox_button"
51                android:enabled="false"/>
52            <Button
53                android:id="@+id/authenticate_strongbox_button"
54                android:layout_width="match_parent"
55                android:layout_height="wrap_content"
56                android:layout_centerInParent="true"
57                android:text="@string/biometric_test_strong_authenticate_strongbox_button"
58                android:enabled="false"/>
59            <Button
60                android:id="@+id/authenticate_key_invalidated_button"
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                android:layout_centerInParent="true"
64                android:text="@string/biometric_test_strong_authenticate_invalidated_button"
65                android:enabled="false"/>
66
67            <Space
68                android:layout_width="match_parent"
69                android:layout_height="0dp"
70                android:layout_weight="1"/>
71
72            <include
73                layout="@layout/pass_fail_buttons"
74                android:layout_width="match_parent"
75                android:layout_height="wrap_content"/>
76
77        </LinearLayout>
78
79    </ScrollView>
80
81</LinearLayout>
82