blob: c9ab4b539e050c3503f90a2649848ce13d079ce4 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2020 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
style="@style/InstructionsFont"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="center"
android:text="@string/biometric_test_weak_instructions" />
<Button
android:id="@+id/biometric_test_weak_enroll_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_weak_enroll"/>
<Button
android:id="@+id/biometric_test_weak_authenticate_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_weak_authenticate"
android:enabled="false"/>
<Button
android:id="@+id/biometric_test_weak_authenticate_time_based_keys_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_weak_authenticate_time_based_keys"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_credential_setDeviceCredentialAllowed_biometric_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_authenticate_with_credential1_button"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_credential_setDeviceCredentialAllowed_credential_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_authenticate_with_credential2_button"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_credential_setAllowedAuthenticators_credential_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_authenticate_with_credential3_button"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_invalid_inputs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_invalid_inputs"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_reject_first"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_reject_first"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_negative_button_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_negative_button_button"
android:enabled="false"/>
<Button
android:id="@+id/authenticate_cancellation_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/biometric_test_cancellation_button"
android:enabled="false"/>
<Space
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<include
layout="@layout/pass_fail_buttons"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</ScrollView>
</LinearLayout>