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