blob: 3f8fbbab7cf4486cbf42bdb35c8b42cd61e27177 [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?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"
Romain Guy33787152010-01-08 15:07:10 -080018 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080019 android:layout_height="wrap_content">
20
21 <LinearLayout
Romain Guy33787152010-01-08 15:07:10 -080022 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080023 android:layout_height="wrap_content"
24 android:padding="8dip"
25 android:orientation="vertical">
26
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080027 <LinearLayout
28 android:id="@+id/table"
Romain Guy33787152010-01-08 15:07:10 -080029 android:layout_width="match_parent"
30 android:layout_height="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080031 android:orientation="vertical">
32 </LinearLayout>
33
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080034
35 <!-- SSID -->
36
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080037 <TextView android:id="@+id/ssid_text"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080038 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -080039 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080040 android:layout_height="wrap_content"
41 android:text="@string/wifi_type_ssid" />
Amith Yamasani985f5ef2009-09-16 12:43:50 -070042
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080043 <EditText android:id="@+id/ssid_edit"
Romain Guy33787152010-01-08 15:07:10 -080044 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080045 android:layout_height="wrap_content"
46 android:layout_marginTop="2dip"
Amith Yamasani985f5ef2009-09-16 12:43:50 -070047 android:singleLine="true"
48 android:inputType="textNoSuggestions" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080049
50 <!-- Security -->
51
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080052 <TextView android:id="@+id/security_text"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080053 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -080054 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080055 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"
Romain Guy33787152010-01-08 15:07:10 -080061 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080062 android:layout_height="wrap_content" />
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080063
64 <!-- Enterprise Fields -->
65 <LinearLayout android:id="@+id/enterprise_wrapper"
Romain Guy33787152010-01-08 15:07:10 -080066 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080067 android:layout_height="wrap_content"
Chung-yih Wangeb7836f2009-07-06 17:03:53 +080068 android:padding="0dip"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080069 android:orientation="vertical">
70 <TextView android:id="@+id/eap_text"
71 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -080072 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080073 android:layout_height="wrap_content"
74 android:layout_marginTop="8dip"
75 android:text="@string/please_select_eap" />
76 <Spinner android:id="@+id/eap_spinner"
Romain Guy33787152010-01-08 15:07:10 -080077 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080078 android:layout_height="wrap_content" />
79 <TextView android:id="@+id/phase2_text"
80 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -080081 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080082 android:layout_height="wrap_content"
83 android:layout_marginTop="8dip"
84 android:text="@string/please_select_phase2" />
85 <Spinner android:id="@+id/phase2_spinner"
Romain Guy33787152010-01-08 15:07:10 -080086 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080087 android:layout_height="wrap_content" />
88
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080089 <TextView android:id="@+id/ca_certificate_text"
90 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -080091 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080092 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"
Romain Guy33787152010-01-08 15:07:10 -080096 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080097 android:layout_height="wrap_content" />
Chung-yih Wangb2f1c332009-06-17 15:46:42 +080098 <TextView android:id="@+id/client_certificate_text"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080099 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -0800100 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800101 android:layout_height="wrap_content"
102 android:layout_marginTop="8dip"
Chung-yih Wangb2f1c332009-06-17 15:46:42 +0800103 android:text="@string/please_select_client_certificate" />
104 <Spinner android:id="@+id/client_certificate_spinner"
Romain Guy33787152010-01-08 15:07:10 -0800105 android:layout_width="match_parent"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800106 android:layout_height="wrap_content" />
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800107 <TextView android:id="@+id/identity_text"
108 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -0800109 android:layout_width="match_parent"
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800110 android:layout_height="wrap_content"
111 android:layout_marginTop="8dip"
112 android:text="@string/please_type_identity" />
113 <EditText android:id="@+id/identity_edit"
Romain Guy33787152010-01-08 15:07:10 -0800114 android:layout_width="match_parent"
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800115 android:layout_height="wrap_content"
116 android:layout_marginTop="2dip"
Amith Yamasani985f5ef2009-09-16 12:43:50 -0700117 android:singleLine="true"
118 android:inputType="textNoSuggestions" />
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800119 <TextView android:id="@+id/anonymous_identity_text"
120 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -0800121 android:layout_width="match_parent"
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800122 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"
Romain Guy33787152010-01-08 15:07:10 -0800126 android:layout_width="match_parent"
Chung-yih Wangeb7836f2009-07-06 17:03:53 +0800127 android:layout_height="wrap_content"
128 android:layout_marginTop="2dip"
129 android:singleLine="true" />
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800130 </LinearLayout>
131
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800132 <!-- Password -->
133
134 <TextView android:id="@+id/password_text"
135 style="?android:attr/textAppearanceSmallInverse"
Romain Guy33787152010-01-08 15:07:10 -0800136 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800137 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"
Romain Guy33787152010-01-08 15:07:10 -0800142 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800143 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"
Romain Guy33787152010-01-08 15:07:10 -0800150 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800151 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"
Romain Guy33787152010-01-08 15:07:10 -0800156 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800157 android:layout_height="wrap_content"
158 android:entries="@array/wifi_wep_type" />
159
160 </LinearLayout>
161
162</ScrollView>