1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:padding="10dip" 20 > 21 22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 23 android:id="@+id/sec_protected_confirmation_tee_layout" 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content" 26 android:padding="10dp" 27 android:orientation="horizontal" 28 android:layout_centerInParent="true" 29 android:gravity="center" 30 > 31 32 <Button android:id="@+id/sec_start_test_button" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="@string/sec_protected_confirmation_tee_test" 36 /> 37 38 <ImageView android:id="@+id/sec_protected_confirmation_tee_test_success" 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:src="@drawable/fs_good" 42 /> 43 44 </LinearLayout> 45 46 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 47 android:id="@+id/sec_protected_confirmation_strongbox_layout" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:padding="10dp" 51 android:orientation="horizontal" 52 android:layout_centerHorizontal="true" 53 android:layout_below="@id/sec_protected_confirmation_tee_layout" 54 android:gravity="center" 55 > 56 57 <Button android:id="@+id/sec_start_test_strongbox_button" 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:text="@string/sec_protected_confirmation_strongbox_test" 61 /> 62 63 <ImageView android:id="@+id/sec_protected_confirmation_strongbox_test_success" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:src="@drawable/fs_good" 67 /> 68 69 </LinearLayout> 70 71 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 72 android:id="@+id/sec_protected_confirmation_tee_negative_layout" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:padding="10dp" 76 android:orientation="horizontal" 77 android:layout_centerInParent="true" 78 android:layout_below="@id/sec_protected_confirmation_strongbox_layout" 79 android:gravity="center" 80 > 81 82 <Button android:id="@+id/sec_start_tee_negative_test_button" 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content" 85 android:text="@string/sec_protected_confirmation_tee_negative_test" 86 /> 87 88 <ImageView android:id="@+id/sec_protected_confirmation_tee_negative_test_success" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 android:src="@drawable/fs_good" 92 /> 93 94 </LinearLayout> 95 96 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 97 android:id="@+id/sec_protected_confirmation_strongbox_negative_layout" 98 android:layout_width="wrap_content" 99 android:layout_height="wrap_content" 100 android:padding="10dp" 101 android:orientation="horizontal" 102 android:layout_centerHorizontal="true" 103 android:layout_below="@id/sec_protected_confirmation_tee_negative_layout" 104 android:gravity="center" 105 > 106 107 <Button android:id="@+id/sec_start_test_strongbox_negative_button" 108 android:layout_width="wrap_content" 109 android:layout_height="wrap_content" 110 android:text="@string/sec_protected_confirmation_strongbox_negative_test" 111 /> 112 113 <ImageView android:id="@+id/sec_protected_confirmation_strongbox_negative_test_success" 114 android:layout_width="wrap_content" 115 android:layout_height="wrap_content" 116 android:src="@drawable/fs_good" 117 /> 118 119 </LinearLayout> 120 121 <include android:layout_width="match_parent" 122 android:layout_height="wrap_content" 123 android:layout_alignParentBottom="true" 124 layout="@layout/pass_fail_buttons" 125 /> 126 127</RelativeLayout> 128 129