1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2008 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="fill_parent" 19 android:layout_height="wrap_content"> 20 21 <LinearLayout 22 android:layout_width="fill_parent" 23 android:layout_height="wrap_content" 24 android:padding="8dip" 25 android:orientation="vertical"> 26 27 <LinearLayout 28 android:id="@+id/table" 29 android:layout_width="fill_parent" 30 android:layout_height="fill_parent" 31 android:orientation="vertical"> 32 </LinearLayout> 33 34 35 <!-- SSID --> 36 37 <TextView android:id="@+id/ssid_text" 38 style="?android:attr/textAppearanceSmallInverse" 39 android:layout_width="fill_parent" 40 android:layout_height="wrap_content" 41 android:text="@string/wifi_type_ssid" /> 42 43 <EditText android:id="@+id/ssid_edit" 44 android:layout_width="fill_parent" 45 android:layout_height="wrap_content" 46 android:layout_marginTop="2dip" 47 android:singleLine="true" 48 android:inputType="textNoSuggestions" /> 49 50 <!-- Security --> 51 52 <TextView android:id="@+id/security_text" 53 style="?android:attr/textAppearanceSmallInverse" 54 android:layout_width="fill_parent" 55 android:layout_height="wrap_content" 56 android:layout_marginTop="8dip" 57 android:text="@string/wifi_security" /> 58 59 <!-- The entries will be set programmatically --> 60 <Spinner android:id="@+id/security_spinner" 61 android:layout_width="fill_parent" 62 android:layout_height="wrap_content" /> 63 64 <!-- Enterprise Fields --> 65 <LinearLayout android:id="@+id/enterprise_wrapper" 66 android:layout_width="fill_parent" 67 android:layout_height="wrap_content" 68 android:padding="0dip" 69 android:orientation="vertical"> 70 <TextView android:id="@+id/eap_text" 71 style="?android:attr/textAppearanceSmallInverse" 72 android:layout_width="fill_parent" 73 android:layout_height="wrap_content" 74 android:layout_marginTop="8dip" 75 android:text="@string/please_select_eap" /> 76 <Spinner android:id="@+id/eap_spinner" 77 android:layout_width="fill_parent" 78 android:layout_height="wrap_content" /> 79 <TextView android:id="@+id/phase2_text" 80 style="?android:attr/textAppearanceSmallInverse" 81 android:layout_width="fill_parent" 82 android:layout_height="wrap_content" 83 android:layout_marginTop="8dip" 84 android:text="@string/please_select_phase2" /> 85 <Spinner android:id="@+id/phase2_spinner" 86 android:layout_width="fill_parent" 87 android:layout_height="wrap_content" /> 88 89 <TextView android:id="@+id/ca_certificate_text" 90 style="?android:attr/textAppearanceSmallInverse" 91 android:layout_width="fill_parent" 92 android:layout_height="wrap_content" 93 android:layout_marginTop="8dip" 94 android:text="@string/please_select_ca_certificate" /> 95 <Spinner android:id="@+id/ca_certificate_spinner" 96 android:layout_width="fill_parent" 97 android:layout_height="wrap_content" /> 98 <TextView android:id="@+id/client_certificate_text" 99 style="?android:attr/textAppearanceSmallInverse" 100 android:layout_width="fill_parent" 101 android:layout_height="wrap_content" 102 android:layout_marginTop="8dip" 103 android:text="@string/please_select_client_certificate" /> 104 <Spinner android:id="@+id/client_certificate_spinner" 105 android:layout_width="fill_parent" 106 android:layout_height="wrap_content" /> 107 <TextView android:id="@+id/identity_text" 108 style="?android:attr/textAppearanceSmallInverse" 109 android:layout_width="fill_parent" 110 android:layout_height="wrap_content" 111 android:layout_marginTop="8dip" 112 android:text="@string/please_type_identity" /> 113 <EditText android:id="@+id/identity_edit" 114 android:layout_width="fill_parent" 115 android:layout_height="wrap_content" 116 android:layout_marginTop="2dip" 117 android:singleLine="true" 118 android:inputType="textNoSuggestions" /> 119 <TextView android:id="@+id/anonymous_identity_text" 120 style="?android:attr/textAppearanceSmallInverse" 121 android:layout_width="fill_parent" 122 android:layout_height="wrap_content" 123 android:layout_marginTop="8dip" 124 android:text="@string/please_type_anonymous_identity" /> 125 <EditText android:id="@+id/anonymous_identity_edit" 126 android:layout_width="fill_parent" 127 android:layout_height="wrap_content" 128 android:layout_marginTop="2dip" 129 android:singleLine="true" /> 130 </LinearLayout> 131 132 <!-- Password --> 133 134 <TextView android:id="@+id/password_text" 135 style="?android:attr/textAppearanceSmallInverse" 136 android:layout_width="fill_parent" 137 android:layout_height="wrap_content" 138 android:layout_marginTop="8dip" 139 android:text="@string/please_type_passphrase" /> 140 141 <EditText android:id="@+id/password_edit" 142 android:layout_width="fill_parent" 143 android:layout_height="wrap_content" 144 android:layout_marginTop="2dip" 145 android:singleLine="true" 146 android:password="true" /> 147 148 <CheckBox android:id="@+id/show_password_checkbox" 149 style="?android:attr/textAppearanceSmallInverse" 150 android:layout_width="fill_parent" 151 android:layout_height="wrap_content" 152 android:layout_marginTop="2dip" 153 android:text="@string/wifi_show_password" /> 154 155 <Spinner android:id="@+id/wep_type_spinner" 156 android:layout_width="fill_parent" 157 android:layout_height="wrap_content" 158 android:entries="@array/wifi_wep_type" /> 159 160 </LinearLayout> 161 162</ScrollView> 163