1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 18<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:tools="http://schemas.android.com/tools" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 tools:context=".GbaActivity"> 23 24 25 <LinearLayout 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:orientation="vertical"> 29 30 <LinearLayout 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:orientation="horizontal"> 34 35 <TextView 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:text="@string/organization" 39 android:textSize="15dp" 40 android:textStyle="bold" /> 41 42 <Spinner 43 android:id="@+id/organization_list" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" /> 46 </LinearLayout> 47 48 <LinearLayout 49 android:layout_width="wrap_content" 50 android:layout_height="wrap_content" 51 android:layout_marginTop="10dp" 52 android:layout_marginBottom="10dp" 53 android:orientation="horizontal"> 54 55 <TextView 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:text="@string/uicc_type" 59 android:textSize="15dp" 60 android:textStyle="bold" /> 61 62 <Spinner 63 android:id="@+id/uicc_list" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content" /> 66 </LinearLayout> 67 68 <LinearLayout 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:layout_marginTop="10dp" 72 android:layout_marginBottom="10dp" 73 android:orientation="horizontal"> 74 75 <TextView 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:text="@string/protocol" 79 android:textSize="15dp" 80 android:textStyle="bold" /> 81 82 <Spinner 83 android:id="@+id/protocol_list" 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" /> 86 </LinearLayout> 87 88 <LinearLayout 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 android:layout_marginTop="10dp" 92 android:layout_marginBottom="10dp" 93 android:orientation="horizontal"> 94 95 <TextView 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:text="@string/tls_cs" 99 android:textSize="15dp" 100 android:textStyle="bold" /> 101 102 <EditText 103 android:id="@+id/tls_id" 104 android:layout_width="wrap_content" 105 android:layout_height="wrap_content" 106 android:inputType="number" 107 android:text="47" 108 android:textSize="15dp" /> 109 </LinearLayout> 110 111 <TextView 112 android:layout_width="wrap_content" 113 android:layout_height="wrap_content" 114 android:text="@string/naf" 115 android:textSize="15dp" 116 android:textStyle="bold" /> 117 118 <EditText 119 android:id="@+id/naf_url" 120 android:layout_width="wrap_content" 121 android:layout_height="wrap_content" 122 android:textSize="15dp" /> 123 124 <Button 125 android:id="@+id/gba_btn" 126 android:layout_width="match_parent" 127 android:layout_height="wrap_content" 128 android:layout_marginTop="10dp" 129 android:layout_marginBottom="10dp" 130 android:text="@string/gba_bootstrap" 131 android:textAllCaps="false" /> 132 133 <TextView 134 android:id="@+id/gba_result" 135 android:layout_width="match_parent" 136 android:layout_height="wrap_content" 137 android:scrollbars="vertical" 138 android:text="@string/result" 139 android:textSize="15dp" 140 android:textStyle="bold" /> 141 </LinearLayout> 142 143</androidx.constraintlayout.widget.ConstraintLayout> 144