blob: f816ae5b4acacede0e6ba7f0b55d555708d93384 [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" />
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"
44 android:layout_width="fill_parent"
45 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"
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" />
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080063
64 <!-- Enterprise Fields -->
65 <LinearLayout android:id="@+id/enterprise_wrapper"
66 android:layout_width="fill_parent"
67 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"
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
Chung-yih Wang0c1f8982009-06-03 19:44:35 +080089 <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" />
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"
100 android:layout_width="fill_parent"
101 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"
Chung-yih Wang0c1f8982009-06-03 19:44:35 +0800105 android:layout_width="fill_parent"
106 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"
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"
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"
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" />
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"
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>