Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 1 | <?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 | |
| 17 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 18 | android:layout_width="wrap_content" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:fadeScrollbars="false" |
| 21 | android:scrollIndicators="top|bottom"> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 22 | |
| 23 | <LinearLayout |
Amith Yamasani | 77859df | 2012-05-29 15:49:29 -0700 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 25 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 26 | android:orientation="vertical" |
| 27 | android:paddingBottom="8dip"> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 28 | |
| 29 | <LinearLayout android:id="@+id/info" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 32 | style="@style/wifi_section" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 33 | |
| 34 | <LinearLayout android:id="@+id/type" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 37 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 38 | android:visibility="gone"> |
| 39 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 40 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="wrap_content" |
| 43 | style="@style/wifi_item" > |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 44 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 47 | style="@style/wifi_item_label" |
Fabrice Di Meglio | eab9150 | 2012-09-11 15:17:40 -0700 | [diff] [blame] | 48 | android:text="@string/wifi_ssid" |
| 49 | android:textDirection="locale" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 50 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 51 | <EditText android:id="@+id/ssid" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 54 | style="@style/wifi_item_edit_content" |
Jean Chalard | 0ac9505 | 2013-04-19 21:46:14 +0900 | [diff] [blame] | 55 | android:hint="@string/wifi_ssid_hint" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 56 | android:singleLine="true" |
| 57 | android:inputType="textNoSuggestions" /> |
Fan Zhang | cc07043 | 2017-06-05 15:50:00 -0700 | [diff] [blame] | 58 | |
| 59 | <LinearLayout android:id="@+id/ssid_too_long_warning" |
| 60 | android:layout_width="match_parent" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:visibility="gone" |
| 63 | style="@style/wifi_item" > |
| 64 | <TextView |
| 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="wrap_content" |
| 67 | style="@style/wifi_item_warning" |
| 68 | android:text="@string/wifi_ssid_too_long" /> |
| 69 | </LinearLayout> |
| 70 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 71 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 72 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 73 | <LinearLayout |
| 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="wrap_content" |
| 76 | style="@style/wifi_item" > |
| 77 | <TextView |
| 78 | android:layout_width="wrap_content" |
| 79 | android:layout_height="wrap_content" |
Sanket Padawe | 9235e67 | 2014-12-11 15:48:45 -0800 | [diff] [blame] | 80 | android:minEms="16" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 81 | style="@style/wifi_item_label" |
| 82 | android:text="@string/wifi_security" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 83 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 84 | <Spinner android:id="@+id/security" |
| 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 87 | style="@style/wifi_item_spinner" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 88 | android:prompt="@string/wifi_security" |
| 89 | android:entries="@array/wifi_security" /> |
| 90 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 91 | </LinearLayout> |
| 92 | |
Irfan Sheriff | b3024fa | 2010-09-16 17:53:59 -0700 | [diff] [blame] | 93 | <LinearLayout android:id="@+id/security_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 94 | android:layout_width="match_parent" |
| 95 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 96 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 97 | android:visibility="gone"> |
| 98 | |
| 99 | <LinearLayout android:id="@+id/eap" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 100 | android:layout_width="match_parent" |
| 101 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 102 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 103 | android:visibility="gone"> |
| 104 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 105 | <LinearLayout android:id="@+id/l_method" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 106 | android:layout_width="match_parent" |
| 107 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 108 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 109 | style="@style/wifi_item" > |
| 110 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 111 | android:layout_width="wrap_content" |
| 112 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 113 | style="@style/wifi_item_label" |
| 114 | android:text="@string/wifi_eap_method" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 115 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 116 | <Spinner android:id="@+id/method" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 117 | android:layout_width="match_parent" |
| 118 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 119 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 120 | android:prompt="@string/wifi_eap_method" |
| 121 | android:entries="@array/wifi_eap_method" /> |
| 122 | </LinearLayout> |
Samuel Tan | f827c92 | 2016-01-21 18:12:53 -0800 | [diff] [blame] | 123 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 124 | <LinearLayout android:id="@+id/l_phase2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 125 | android:layout_width="match_parent" |
| 126 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 127 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 128 | style="@style/wifi_item" > |
| 129 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 130 | android:layout_width="wrap_content" |
| 131 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 132 | style="@style/wifi_item_label" |
| 133 | android:text="@string/please_select_phase2" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 134 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 135 | <Spinner android:id="@+id/phase2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 136 | android:layout_width="match_parent" |
| 137 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 138 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 139 | android:prompt="@string/please_select_phase2" |
| 140 | android:entries="@array/wifi_phase2_entries" /> |
| 141 | </LinearLayout> |
Irfan Sheriff | de3e566 | 2010-06-02 15:25:13 -0700 | [diff] [blame] | 142 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 143 | <LinearLayout android:id="@+id/l_ca_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 144 | android:layout_width="match_parent" |
| 145 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 146 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 147 | style="@style/wifi_item" > |
| 148 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 149 | android:layout_width="wrap_content" |
| 150 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 151 | style="@style/wifi_item_label" |
| 152 | android:text="@string/wifi_eap_ca_cert" /> |
Irfan Sheriff | de3e566 | 2010-06-02 15:25:13 -0700 | [diff] [blame] | 153 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 154 | <Spinner android:id="@+id/ca_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 155 | android:layout_width="match_parent" |
| 156 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 157 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 158 | android:prompt="@string/wifi_eap_ca_cert" /> |
| 159 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 160 | |
Samuel Tan | 57c329c | 2016-01-21 18:17:17 -0800 | [diff] [blame] | 161 | <LinearLayout android:id="@+id/no_ca_cert_warning" |
| 162 | android:layout_width="match_parent" |
| 163 | android:layout_height="wrap_content" |
| 164 | android:visibility="gone" |
| 165 | style="@style/wifi_item" > |
| 166 | <TextView |
| 167 | android:layout_width="wrap_content" |
| 168 | android:layout_height="wrap_content" |
| 169 | style="@style/wifi_item_warning" |
| 170 | android:text="@string/wifi_do_not_validate_eap_server_warning" /> |
| 171 | </LinearLayout> |
| 172 | |
Samuel Tan | d54bbd5 | 2016-01-29 13:26:17 -0800 | [diff] [blame] | 173 | <LinearLayout android:id="@+id/l_domain" |
| 174 | android:layout_width="match_parent" |
| 175 | android:layout_height="wrap_content" |
| 176 | style="@style/wifi_item" > |
| 177 | <TextView |
| 178 | android:layout_width="wrap_content" |
| 179 | android:layout_height="wrap_content" |
| 180 | style="@style/wifi_item_label" |
| 181 | android:text="@string/wifi_eap_domain" /> |
| 182 | |
| 183 | <EditText android:id="@+id/domain" |
| 184 | android:layout_width="match_parent" |
| 185 | android:layout_height="wrap_content" |
| 186 | style="@style/wifi_item_edit_content" |
| 187 | android:singleLine="true" |
| 188 | android:inputType="textNoSuggestions" /> |
| 189 | </LinearLayout> |
| 190 | |
Samuel Tan | 2b16cd3 | 2016-02-02 15:54:37 -0800 | [diff] [blame] | 191 | <LinearLayout android:id="@+id/no_domain_warning" |
| 192 | android:layout_width="match_parent" |
| 193 | android:layout_height="wrap_content" |
| 194 | android:visibility="gone" |
| 195 | style="@style/wifi_item" > |
| 196 | <TextView |
| 197 | android:layout_width="wrap_content" |
| 198 | android:layout_height="wrap_content" |
| 199 | style="@style/wifi_item_warning" |
| 200 | android:text="@string/wifi_no_domain_warning" /> |
| 201 | </LinearLayout> |
| 202 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 203 | <LinearLayout android:id="@+id/l_user_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 204 | android:layout_width="match_parent" |
| 205 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 206 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 207 | style="@style/wifi_item" > |
| 208 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 209 | android:layout_width="wrap_content" |
| 210 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 211 | style="@style/wifi_item_label" |
| 212 | android:text="@string/wifi_eap_user_cert" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 213 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 214 | <Spinner android:id="@+id/user_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 215 | android:layout_width="match_parent" |
| 216 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 217 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 218 | android:prompt="@string/wifi_eap_user_cert" /> |
| 219 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 220 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 221 | <LinearLayout android:id="@+id/l_identity" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 222 | android:layout_width="match_parent" |
| 223 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 224 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 225 | style="@style/wifi_item" > |
| 226 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 227 | android:layout_width="wrap_content" |
| 228 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 229 | style="@style/wifi_item_label" |
| 230 | android:text="@string/wifi_eap_identity" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 231 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 232 | <EditText android:id="@+id/identity" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 233 | android:layout_width="match_parent" |
| 234 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 235 | style="@style/wifi_item_edit_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 236 | android:singleLine="true" |
| 237 | android:inputType="textNoSuggestions" /> |
| 238 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 239 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 240 | <LinearLayout android:id="@+id/l_anonymous" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 241 | android:layout_width="match_parent" |
| 242 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 243 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 244 | style="@style/wifi_item" > |
| 245 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 246 | android:layout_width="wrap_content" |
| 247 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 248 | style="@style/wifi_item_label" |
| 249 | android:text="@string/wifi_eap_anonymous" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 250 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 251 | <EditText android:id="@+id/anonymous" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 252 | android:layout_width="match_parent" |
| 253 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 254 | style="@style/wifi_item_edit_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 255 | android:singleLine="true" |
| 256 | android:inputType="textNoSuggestions" /> |
| 257 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 258 | </LinearLayout> |
| 259 | |
Irfan Sheriff | f2e086b | 2013-01-17 09:47:45 -0800 | [diff] [blame] | 260 | <LinearLayout android:id="@+id/password_layout" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 261 | android:layout_width="match_parent" |
| 262 | android:layout_height="wrap_content" |
| 263 | style="@style/wifi_item" > |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 264 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 265 | android:layout_width="wrap_content" |
| 266 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 267 | style="@style/wifi_item_label" |
| 268 | android:text="@string/wifi_password" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 269 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 270 | <EditText android:id="@+id/password" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 271 | android:layout_width="match_parent" |
| 272 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 273 | style="@style/wifi_item_edit_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 274 | android:singleLine="true" |
| 275 | android:password="true" /> |
| 276 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 277 | |
Irfan Sheriff | f2e086b | 2013-01-17 09:47:45 -0800 | [diff] [blame] | 278 | <LinearLayout android:id="@+id/show_password_layout" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 279 | android:layout_width="match_parent" |
| 280 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 281 | style="@style/wifi_item" > |
| 282 | <!-- Dummy to enable right-justification of checkbox --> |
| 283 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 284 | android:layout_width="wrap_content" |
| 285 | android:layout_height="wrap_content" |
| 286 | style="@style/wifi_item_label" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 287 | |
| 288 | <CheckBox android:id="@+id/show_password" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 289 | android:layout_width="match_parent" |
| 290 | android:layout_height="wrap_content" |
| 291 | style="@style/wifi_item_content" |
| 292 | android:textSize="14sp" |
| 293 | android:text="@string/wifi_show_password" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 294 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 295 | </LinearLayout> |
Irfan Sheriff | f027ce5 | 2010-08-30 17:03:28 -0700 | [diff] [blame] | 296 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 297 | <LinearLayout android:id="@+id/wifi_advanced_toggle" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 298 | android:layout_width="match_parent" |
| 299 | android:layout_height="wrap_content" |
| 300 | style="@style/wifi_item" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 301 | android:paddingBottom="4dp" |
Salvador Martinez | 7c59e7a | 2016-09-26 15:43:00 -0700 | [diff] [blame] | 302 | android:importantForAccessibility="yes" |
| 303 | android:contentDescription="@string/wifi_advanced_toggle_description_collapsed" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 304 | android:visibility="gone"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 305 | <CheckBox android:id="@+id/wifi_advanced_togglebox" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 306 | android:layout_width="match_parent" |
| 307 | android:layout_height="wrap_content" |
Maurice Lam | a8b824d | 2015-02-12 14:53:59 -0800 | [diff] [blame] | 308 | style="@style/wifi_advanced_toggle" |
Salvador Martinez | 7c59e7a | 2016-09-26 15:43:00 -0700 | [diff] [blame] | 309 | android:importantForAccessibility="noHideDescendants" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 310 | android:text="@string/wifi_show_advanced" /> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 311 | </LinearLayout> |
| 312 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 313 | <LinearLayout android:id="@+id/wifi_advanced_fields" |
| 314 | android:layout_width="match_parent" |
| 315 | android:layout_height="wrap_content" |
| 316 | android:orientation="vertical" |
| 317 | android:visibility="gone"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 318 | |
jackqdyulei | 261c29c | 2018-01-04 14:55:13 -0800 | [diff] [blame^] | 319 | <LinearLayout android:id="@+id/metered_settings_fields" |
| 320 | android:layout_width="match_parent" |
| 321 | android:layout_height="wrap_content" |
| 322 | style="@style/wifi_item"> |
| 323 | |
| 324 | <TextView android:id="@+id/metered_settings_title" |
| 325 | android:layout_width="wrap_content" |
| 326 | android:layout_height="wrap_content" |
| 327 | style="@style/wifi_item_label" |
| 328 | android:text="@string/data_usage_metered_yes" /> |
| 329 | |
| 330 | <Spinner android:id="@+id/metered_settings" |
| 331 | android:layout_width="match_parent" |
| 332 | android:layout_height="wrap_content" |
| 333 | style="@style/wifi_item_spinner" |
| 334 | android:prompt="@string/data_usage_metered_yes" |
| 335 | android:entries="@array/wifi_metered_entries"/> |
| 336 | |
| 337 | </LinearLayout> |
| 338 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 339 | <LinearLayout android:id="@+id/proxy_settings_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 340 | android:layout_width="match_parent" |
| 341 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 342 | style="@style/wifi_item" |
| 343 | android:visibility="gone"> |
| 344 | |
| 345 | <TextView android:id="@+id/proxy_settings_title" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 346 | android:layout_width="wrap_content" |
| 347 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 348 | style="@style/wifi_item_label" |
| 349 | android:text="@string/proxy_settings_title" /> |
| 350 | |
| 351 | <Spinner android:id="@+id/proxy_settings" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 352 | android:layout_width="match_parent" |
| 353 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 354 | style="@style/wifi_item_spinner" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 355 | android:prompt="@string/proxy_settings_title" |
| 356 | android:entries="@array/wifi_proxy_settings" /> |
Jason Monk | 070f356 | 2013-11-05 11:54:48 -0500 | [diff] [blame] | 357 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 358 | </LinearLayout> |
| 359 | |
| 360 | <LinearLayout android:id="@+id/proxy_warning_limited_support" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 361 | android:layout_width="match_parent" |
| 362 | android:layout_height="wrap_content" |
| 363 | style="@style/wifi_item" |
| 364 | android:visibility="gone"> |
| 365 | <!-- Dummy to enable right-justification of warning --> |
| 366 | <TextView |
| 367 | android:layout_width="wrap_content" |
| 368 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 369 | style="@style/wifi_item_label" /> |
| 370 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 371 | <TextView |
| 372 | android:layout_width="match_parent" |
| 373 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 374 | style="@style/wifi_item_content" |
| 375 | android:text="@string/proxy_warning_limited_support" /> |
| 376 | </LinearLayout> |
| 377 | |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 378 | <LinearLayout android:id="@+id/proxy_pac_field" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 379 | android:layout_width="match_parent" |
| 380 | android:layout_height="wrap_content" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 381 | style="@style/wifi_section" |
| 382 | android:visibility="gone"> |
Samuel Tan | f827c92 | 2016-01-21 18:12:53 -0800 | [diff] [blame] | 383 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 384 | android:layout_width="match_parent" |
| 385 | android:layout_height="wrap_content" |
| 386 | style="@style/wifi_item"> |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 387 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 388 | android:layout_width="wrap_content" |
| 389 | android:layout_height="wrap_content" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 390 | style="@style/wifi_item_label" |
| 391 | android:text="@string/proxy_url_title" /> |
| 392 | |
| 393 | <EditText android:id="@+id/proxy_pac" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 394 | android:layout_width="match_parent" |
| 395 | android:layout_height="wrap_content" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 396 | style="@style/wifi_item_content" |
| 397 | android:hint="@string/proxy_url_hint" |
| 398 | android:inputType="textNoSuggestions" |
| 399 | android:singleLine="true"/> |
| 400 | </LinearLayout> |
| 401 | </LinearLayout> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 402 | <LinearLayout android:id="@+id/proxy_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 403 | android:layout_width="match_parent" |
| 404 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 405 | style="@style/wifi_section" |
| 406 | android:visibility="gone"> |
| 407 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 408 | <LinearLayout |
| 409 | android:layout_width="match_parent" |
| 410 | android:layout_height="wrap_content" |
| 411 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 412 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 413 | android:layout_width="wrap_content" |
| 414 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 415 | style="@style/wifi_item_label" |
| 416 | android:text="@string/proxy_hostname_label" /> |
| 417 | |
| 418 | <EditText android:id="@+id/proxy_hostname" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 419 | android:layout_width="match_parent" |
| 420 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 421 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 422 | android:hint="@string/proxy_hostname_hint" |
| 423 | android:inputType="textNoSuggestions" |
| 424 | android:singleLine="true" /> |
| 425 | </LinearLayout> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 426 | <LinearLayout |
| 427 | android:layout_width="match_parent" |
| 428 | android:layout_height="wrap_content" |
| 429 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 430 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 431 | android:layout_width="wrap_content" |
| 432 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 433 | style="@style/wifi_item_label" |
| 434 | android:text="@string/proxy_port_label" /> |
| 435 | |
| 436 | <EditText android:id="@+id/proxy_port" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 437 | android:layout_width="match_parent" |
| 438 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 439 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 440 | android:hint="@string/proxy_port_hint" |
| 441 | android:inputType="number" |
| 442 | android:singleLine="true" /> |
| 443 | </LinearLayout> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 444 | <LinearLayout |
| 445 | android:layout_width="match_parent" |
| 446 | android:layout_height="wrap_content" |
| 447 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 448 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 449 | android:layout_width="wrap_content" |
| 450 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 451 | style="@style/wifi_item_label" |
| 452 | android:text="@string/proxy_exclusionlist_label" /> |
| 453 | |
| 454 | <EditText android:id="@+id/proxy_exclusionlist" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 455 | android:layout_width="match_parent" |
| 456 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 457 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 458 | android:hint="@string/proxy_exclusionlist_hint" |
| 459 | android:inputType="textNoSuggestions" |
| 460 | android:singleLine="true" /> |
| 461 | </LinearLayout> |
| 462 | </LinearLayout> |
| 463 | |
| 464 | <LinearLayout android:id="@+id/ip_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 465 | android:layout_width="match_parent" |
| 466 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 467 | style="@style/wifi_item" |
| 468 | android:visibility="gone"> |
| 469 | |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 470 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 471 | android:layout_width="wrap_content" |
| 472 | android:layout_height="wrap_content" |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 473 | style="@style/wifi_item_label" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 474 | android:text="@string/wifi_ip_settings" /> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 475 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 476 | <Spinner android:id="@+id/ip_settings" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 477 | android:layout_width="match_parent" |
| 478 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 479 | style="@style/wifi_item_spinner" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 480 | android:prompt="@string/wifi_ip_settings" |
| 481 | android:entries="@array/wifi_ip_settings" /> |
| 482 | |
| 483 | </LinearLayout> |
| 484 | |
| 485 | <LinearLayout android:id="@+id/staticip" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 486 | android:layout_width="match_parent" |
| 487 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 488 | style="@style/wifi_section" |
| 489 | android:visibility="gone"> |
| 490 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 491 | android:layout_width="match_parent" |
| 492 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 493 | style="@style/wifi_item" > |
| 494 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 495 | android:layout_width="wrap_content" |
| 496 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 497 | style="@style/wifi_item_label" |
| 498 | android:text="@string/wifi_ip_address" /> |
| 499 | |
| 500 | <EditText android:id="@+id/ipaddress" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 501 | android:layout_width="match_parent" |
| 502 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 503 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 504 | android:singleLine="true" |
| 505 | android:hint="@string/wifi_ip_address_hint" |
| 506 | android:inputType="textNoSuggestions" /> |
| 507 | </LinearLayout> |
| 508 | |
| 509 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 510 | android:layout_width="match_parent" |
| 511 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 512 | style="@style/wifi_item" > |
| 513 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 514 | android:layout_width="wrap_content" |
| 515 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 516 | style="@style/wifi_item_label" |
| 517 | android:text="@string/wifi_gateway" /> |
| 518 | |
| 519 | <EditText android:id="@+id/gateway" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 520 | android:layout_width="match_parent" |
| 521 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 522 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 523 | android:singleLine="true" |
| 524 | android:hint="@string/wifi_gateway_hint" |
| 525 | android:inputType="textNoSuggestions" /> |
| 526 | </LinearLayout> |
| 527 | |
| 528 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 529 | android:layout_width="match_parent" |
| 530 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 531 | style="@style/wifi_item" > |
| 532 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 533 | android:layout_width="wrap_content" |
| 534 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 535 | style="@style/wifi_item_label" |
| 536 | android:text="@string/wifi_network_prefix_length" /> |
| 537 | |
| 538 | <EditText android:id="@+id/network_prefix_length" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 539 | android:layout_width="match_parent" |
| 540 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 541 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 542 | android:singleLine="true" |
| 543 | android:hint="@string/wifi_network_prefix_length_hint" |
| 544 | android:inputType="number" /> |
| 545 | </LinearLayout> |
| 546 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 547 | android:layout_width="match_parent" |
| 548 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 549 | style="@style/wifi_item" > |
| 550 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 551 | android:layout_width="wrap_content" |
| 552 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 553 | style="@style/wifi_item_label" |
| 554 | android:text="@string/wifi_dns1" /> |
| 555 | |
| 556 | <EditText android:id="@+id/dns1" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 557 | android:layout_width="match_parent" |
| 558 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 559 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 560 | android:singleLine="true" |
| 561 | android:hint="@string/wifi_dns1_hint" |
| 562 | android:inputType="textNoSuggestions" /> |
| 563 | </LinearLayout> |
| 564 | |
| 565 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 566 | android:layout_width="match_parent" |
| 567 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 568 | style="@style/wifi_item" > |
| 569 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 570 | android:layout_width="wrap_content" |
| 571 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 572 | style="@style/wifi_item_label" |
| 573 | android:text="@string/wifi_dns2" /> |
| 574 | |
| 575 | <EditText android:id="@+id/dns2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 576 | android:layout_width="match_parent" |
| 577 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 578 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 579 | android:singleLine="true" |
| 580 | android:hint="@string/wifi_dns2_hint" |
| 581 | android:inputType="textNoSuggestions" /> |
| 582 | </LinearLayout> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 583 | </LinearLayout> |
Bartosz Fabianowski | 1058c0c | 2015-12-16 17:15:25 +0100 | [diff] [blame] | 584 | |
| 585 | <LinearLayout |
| 586 | android:layout_width="match_parent" |
| 587 | android:layout_height="wrap_content" |
| 588 | style="@style/wifi_section"> |
| 589 | <LinearLayout |
| 590 | android:layout_width="match_parent" |
| 591 | android:layout_height="wrap_content" |
| 592 | style="@style/wifi_item" > |
| 593 | <CheckBox android:id="@+id/shared" |
| 594 | android:layout_width="match_parent" |
| 595 | android:layout_height="wrap_content" |
| 596 | style="@style/wifi_item_content" |
| 597 | android:textSize="14sp" |
| 598 | android:text="@string/wifi_shared" |
| 599 | android:checked="true" /> |
| 600 | </LinearLayout> |
| 601 | </LinearLayout> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 602 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 603 | </LinearLayout> |
| 604 | </ScrollView> |