blob: e3ddf35bc6bce500feb8349a1516bbcaa7b9e7dc [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"
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
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080027 <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
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"
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
49
50
51 <!-- Security -->
52
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080053 <TextView android:id="@+id/security_text"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080054 style="?android:attr/textAppearanceSmallInverse"
55 android:layout_width="fill_parent"
56 android:layout_height="wrap_content"
57 android:layout_marginTop="8dip"
58 android:text="@string/wifi_security" />
59
60 <!-- The entries will be set programmatically -->
61 <Spinner android:id="@+id/security_spinner"
62 android:layout_width="fill_parent"
63 android:layout_height="wrap_content" />
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080064
65 <!-- Enterprise Fields -->
66 <LinearLayout android:id="@+id/enterprise_wrapper"
67 android:layout_width="fill_parent"
68 android:layout_height="wrap_content"
69 android:padding="8dip"
70 android:orientation="vertical">
71 <TextView android:id="@+id/eap_text"
72 style="?android:attr/textAppearanceSmallInverse"
73 android:layout_width="fill_parent"
74 android:layout_height="wrap_content"
75 android:layout_marginTop="8dip"
76 android:text="@string/please_select_eap" />
77 <Spinner android:id="@+id/eap_spinner"
78 android:layout_width="fill_parent"
79 android:layout_height="wrap_content" />
80 <TextView android:id="@+id/phase2_text"
81 style="?android:attr/textAppearanceSmallInverse"
82 android:layout_width="fill_parent"
83 android:layout_height="wrap_content"
84 android:layout_marginTop="8dip"
85 android:text="@string/please_select_phase2" />
86 <Spinner android:id="@+id/phase2_spinner"
87 android:layout_width="fill_parent"
88 android:layout_height="wrap_content" />
89
90 <TextView android:id="@+id/identity_text"
91 style="?android:attr/textAppearanceSmallInverse"
92 android:layout_width="fill_parent"
93 android:layout_height="wrap_content"
94 android:layout_marginTop="8dip"
95 android:text="@string/please_type_identity" />
96 <EditText android:id="@+id/identity_edit"
97 android:layout_width="fill_parent"
98 android:layout_height="wrap_content"
99 android:layout_marginTop="2dip"
100 android:singleLine="true" />
101 <TextView android:id="@+id/anonymous_identity_text"
102 style="?android:attr/textAppearanceSmallInverse"
103 android:layout_width="fill_parent"
104 android:layout_height="wrap_content"
105 android:layout_marginTop="8dip"
106 android:text="@string/please_type_anonymous_identity" />
107 <EditText android:id="@+id/anonymous_identity_edit"
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content"
110 android:layout_marginTop="2dip"
111 android:singleLine="true" />
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800112 <TextView android:id="@+id/ca_certificate_text"
113 style="?android:attr/textAppearanceSmallInverse"
114 android:layout_width="fill_parent"
115 android:layout_height="wrap_content"
116 android:layout_marginTop="8dip"
117 android:text="@string/please_select_ca_certificate" />
118 <Spinner android:id="@+id/ca_certificate_spinner"
119 android:layout_width="fill_parent"
120 android:layout_height="wrap_content" />
Chung-yih Wangb2f1c332009-06-17 15:46:42 +0800121 <TextView android:id="@+id/client_certificate_text"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800122 style="?android:attr/textAppearanceSmallInverse"
123 android:layout_width="fill_parent"
124 android:layout_height="wrap_content"
125 android:layout_marginTop="8dip"
Chung-yih Wangb2f1c332009-06-17 15:46:42 +0800126 android:text="@string/please_select_client_certificate" />
127 <Spinner android:id="@+id/client_certificate_spinner"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800128 android:layout_width="fill_parent"
129 android:layout_height="wrap_content" />
130 <TextView android:id="@+id/private_key_passwd_text"
131 style="?android:attr/textAppearanceSmallInverse"
132 android:layout_width="fill_parent"
133 android:layout_height="wrap_content"
134 android:layout_marginTop="8dip"
135 android:text="@string/please_type_private_key_passwd" />
136 <EditText android:id="@+id/private_key_passwd_edit"
137 android:layout_width="fill_parent"
138 android:layout_height="wrap_content"
139 android:layout_marginTop="2dip"
140 android:singleLine="true" />
141 </LinearLayout>
142
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800143 <!-- Password -->
144
145 <TextView android:id="@+id/password_text"
146 style="?android:attr/textAppearanceSmallInverse"
147 android:layout_width="fill_parent"
148 android:layout_height="wrap_content"
149 android:layout_marginTop="8dip"
150 android:text="@string/please_type_passphrase" />
151
152 <EditText android:id="@+id/password_edit"
153 android:layout_width="fill_parent"
154 android:layout_height="wrap_content"
155 android:layout_marginTop="2dip"
156 android:singleLine="true"
157 android:password="true" />
158
159 <CheckBox android:id="@+id/show_password_checkbox"
160 style="?android:attr/textAppearanceSmallInverse"
161 android:layout_width="fill_parent"
162 android:layout_height="wrap_content"
163 android:layout_marginTop="2dip"
164 android:text="@string/wifi_show_password" />
165
166 <Spinner android:id="@+id/wep_type_spinner"
167 android:layout_width="fill_parent"
168 android:layout_height="wrap_content"
169 android:entries="@array/wifi_wep_type" />
170
171 </LinearLayout>
172
173</ScrollView>