blob: c510abf99c6a26069fd2c800565cc13332513435 [file] [log] [blame]
Daisuke Miyakawad3669922010-08-27 10:04:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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<!-- All ids in this layout must be in wifi_dialog.xml -->
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:orientation="vertical"
Daisuke Miyakawad3669922010-08-27 10:04:08 -070019 android:layout_width="fill_parent"
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070020 android:layout_height="fill_parent">
Daisuke Miyakawad3669922010-08-27 10:04:08 -070021
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070022 <LinearLayout android:id="@+id/info"
23 android:layout_width="fill_parent"
24 android:layout_height="wrap_content"
25 android:orientation="vertical" />
26 <LinearLayout android:id="@+id/type"
27 android:layout_width="fill_parent"
28 android:layout_height="wrap_content"
29 android:orientation="vertical"
30 android:visibility="gone">
Daisuke Miyakawad3669922010-08-27 10:04:08 -070031
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070032 <TextView android:layout_width="fill_parent"
33 android:layout_height="wrap_content"
34 android:text="@string/wifi_ssid" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070035
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070036 <EditText android:id="@+id/ssid"
37 android:layout_width="fill_parent"
38 android:layout_height="wrap_content"
39 android:singleLine="true"
40 android:inputType="textNoSuggestions" />
41
42 <TextView android:layout_width="fill_parent"
43 android:layout_height="wrap_content"
44 android:text="@string/wifi_security" />
45
46 <Spinner android:id="@+id/security"
Daisuke Miyakawad3669922010-08-27 10:04:08 -070047 android:layout_width="fill_parent"
48 android:layout_height="wrap_content"
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070049 android:prompt="@string/wifi_security"
50 android:entries="@array/wifi_security" />
51 </LinearLayout> <!-- android:id="@+id/type" -->
Daisuke Miyakawad3669922010-08-27 10:04:08 -070052
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070053 <LinearLayout android:id="@+id/fields"
Daisuke Miyakawad3669922010-08-27 10:04:08 -070054 android:layout_width="fill_parent"
55 android:layout_height="wrap_content"
56 android:orientation="vertical"
57 android:visibility="gone">
58
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070059 <LinearLayout android:id="@+id/eap"
60 android:layout_width="fill_parent"
61 android:layout_height="wrap_content"
62 android:orientation="vertical"
63 android:visibility="gone">
Daisuke Miyakawad3669922010-08-27 10:04:08 -070064
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070065 <TextView
66 android:layout_width="fill_parent"
67 android:layout_height="wrap_content"
68 android:text="@string/wifi_eap_method" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070069
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070070 <Spinner android:id="@+id/method"
71 android:layout_width="fill_parent"
72 android:layout_height="wrap_content"
73 android:prompt="@string/wifi_eap_method"
74 android:entries="@array/wifi_eap_method" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070075
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070076 <TextView
77 android:layout_width="fill_parent"
78 android:layout_height="wrap_content"
79 android:text="@string/please_select_phase2" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070080
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070081 <Spinner android:id="@+id/phase2"
82 android:layout_width="fill_parent"
83 android:layout_height="wrap_content"
84 android:prompt="@string/please_select_phase2"
85 android:entries="@array/wifi_phase2_entries" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070086
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070087 <TextView
88 android:layout_width="fill_parent"
89 android:layout_height="wrap_content"
90 android:text="@string/wifi_eap_ca_cert" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070091
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070092 <Spinner android:id="@+id/ca_cert"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:prompt="@string/wifi_eap_ca_cert" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -070096
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -070097 <TextView
98 android:layout_width="fill_parent"
99 android:layout_height="wrap_content"
100 android:text="@string/wifi_eap_user_cert" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700101
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700102 <Spinner android:id="@+id/user_cert"
103 android:layout_width="fill_parent"
104 android:layout_height="wrap_content"
105 android:prompt="@string/wifi_eap_user_cert" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700106
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700107 <TextView
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content"
110 android:text="@string/wifi_eap_identity" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700111
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700112 <EditText android:id="@+id/identity"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:singleLine="true"
116 android:inputType="textNoSuggestions" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700117
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700118 <TextView
119 android:layout_width="fill_parent"
120 android:layout_height="wrap_content"
121 android:text="@string/wifi_eap_anonymous" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700122
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700123 <EditText android:id="@+id/anonymous"
124 android:layout_width="fill_parent"
125 android:layout_height="wrap_content"
126 android:singleLine="true"
127 android:inputType="textNoSuggestions" />
128 </LinearLayout> <!-- android:id="@+id/eap" -->
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700129
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700130 <TextView android:layout_width="fill_parent"
131 android:layout_height="wrap_content"
132 android:text="@string/wifi_password" />
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700133
Daisuke Miyakawa5cd60eb2010-09-01 19:27:11 -0700134 <EditText android:id="@+id/password"
135 android:layout_width="fill_parent"
136 android:layout_height="wrap_content"
137 android:singleLine="true"
138 android:password="true" />
139
140 <CheckBox android:id="@+id/show_password"
141 android:layout_width="fill_parent"
142 android:layout_height="wrap_content"
143 android:text="@string/wifi_show_password" />
144 </LinearLayout> <!-- android:id="@+id/fields" -->
Daisuke Miyakawad3669922010-08-27 10:04:08 -0700145</LinearLayout>