1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/common" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical"> 23 <TextView 24 style="@style/GroupLabelText" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:text="@string/body_content_type_label" /> 28 <RadioGroup 29 android:id="@+id/body_content_type_group" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="vertical"> 33 <RadioButton 34 style="@style/LabelText" 35 android:id="@+id/plain_text_content" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:text="@string/plain_text"/> 39 <RadioButton 40 style="@style/LabelText" 41 android:id="@+id/vertical_list_content" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:text="@string/vertical_list"/> 45 </RadioGroup> 46 47 <TextView 48 style="@style/GroupLabelText" 49 android:layout_width="wrap_content" 50 android:layout_height="wrap_content" 51 android:text="@string/other_options_label" /> 52 53 <LinearLayout 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:orientation="horizontal"> 57 <CheckBox 58 android:id="@+id/cancel_config_change_checkbox" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" /> 61 <TextView 62 style="@style/LabelText" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:text="@string/cancel_config_change_label" /> 66 </LinearLayout> 67 68 <LinearLayout 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:orientation="horizontal"> 72 <CheckBox 73 android:id="@+id/require_confirmation_checkbox" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:checked="true" /> 77 <TextView 78 style="@style/LabelText" 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:text="@string/require_confirmation_label" /> 82 </LinearLayout> 83 <LinearLayout 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" 86 android:orientation="horizontal"> 87 <CheckBox 88 android:id="@+id/use_crypto_auth_checkbox" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" /> 91 <TextView 92 style="@style/LabelText" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:text="@string/use_crypto_auth_label" /> 96 </LinearLayout> 97 98 <Button 99 android:id="@+id/can_authenticate_button" 100 android:layout_width="match_parent" 101 android:layout_height="wrap_content" 102 android:text="@string/can_authenticate_button_label" /> 103 104 <Button 105 android:id="@+id/authenticate_button" 106 android:layout_width="match_parent" 107 android:layout_height="wrap_content" 108 android:text="@string/authenticate_button_label" /> 109 110 <Button 111 android:id="@+id/clear_log_button" 112 android:layout_width="match_parent" 113 android:layout_height="wrap_content" 114 android:text="@string/clear_log_label" /> 115 116 <TextView 117 android:id="@+id/log_text_view" 118 android:layout_width="match_parent" 119 android:layout_height="wrap_content" /> 120</LinearLayout> 121