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 | |
Arc Wang | 12d9d5e | 2021-03-09 14:25:37 +0800 | [diff] [blame] | 17 | <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Salvador Martinez | 8bc3fa0 | 2018-03-29 21:29:30 -0700 | [diff] [blame] | 18 | android:id="@+id/dialog_scrollview" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:fadeScrollbars="false" |
| 22 | android:scrollIndicators="top|bottom"> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 23 | |
| 24 | <LinearLayout |
Yuchen Chang | 1bf069f | 2018-03-14 17:16:05 +0800 | [diff] [blame] | 25 | android:id="@+id/l_wifidialog" |
Amith Yamasani | 77859df | 2012-05-29 15:49:29 -0700 | [diff] [blame] | 26 | android:layout_width="match_parent" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 27 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 28 | android:orientation="vertical" |
| 29 | android:paddingBottom="8dip"> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 30 | |
| 31 | <LinearLayout android:id="@+id/info" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 34 | style="@style/wifi_section" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 35 | |
| 36 | <LinearLayout android:id="@+id/type" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 39 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 40 | android:visibility="gone"> |
| 41 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 42 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="wrap_content" |
| 45 | style="@style/wifi_item" > |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 46 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 49 | style="@style/wifi_item_label" |
Fabrice Di Meglio | eab9150 | 2012-09-11 15:17:40 -0700 | [diff] [blame] | 50 | android:text="@string/wifi_ssid" |
| 51 | android:textDirection="locale" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 52 | |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 53 | <androidx.constraintlayout.widget.ConstraintLayout |
| 54 | xmlns:app="http://schemas.android.com/apk/res-auto" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 55 | android:layout_width="match_parent" |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 56 | android:layout_height="wrap_content"> |
Johnson Lu | 5aef897 | 2018-12-07 11:56:49 +0800 | [diff] [blame] | 57 | <EditText android:id="@+id/ssid" |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 58 | android:layout_width="0dp" |
Johnson Lu | 5aef897 | 2018-12-07 11:56:49 +0800 | [diff] [blame] | 59 | android:layout_height="wrap_content" |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 60 | app:layout_constraintStart_toStartOf="parent" |
| 61 | app:layout_constraintEnd_toStartOf="@+id/ssid_scanner_button" |
Johnson Lu | 5aef897 | 2018-12-07 11:56:49 +0800 | [diff] [blame] | 62 | style="@style/wifi_item_edit_content" |
| 63 | android:hint="@string/wifi_ssid_hint" |
| 64 | android:singleLine="true" |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 65 | android:inputType="textNoSuggestions"/> |
| 66 | |
Johnson Lu | 5aef897 | 2018-12-07 11:56:49 +0800 | [diff] [blame] | 67 | <ImageButton |
| 68 | android:id="@+id/ssid_scanner_button" |
| 69 | android:layout_width="wrap_content" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 70 | android:layout_height="wrap_content" |
Arc Wang | 3e5a1e6 | 2019-02-25 11:07:00 +0800 | [diff] [blame] | 71 | android:minWidth="@dimen/min_tap_target_size" |
| 72 | android:minHeight="@dimen/min_tap_target_size" |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 73 | app:layout_constraintEnd_toEndOf="parent" |
| 74 | android:background="?android:attr/selectableItemBackground" |
Arc Wang | c8cd5d3 | 2019-01-03 18:36:27 +0800 | [diff] [blame] | 75 | android:src="@drawable/ic_scan_24dp" |
Arc Wang | 70e3580 | 2019-03-06 12:29:45 +0800 | [diff] [blame] | 76 | android:contentDescription="@string/wifi_dpp_scan_qr_code"/> |
Arc Wang | baf002d | 2019-03-15 16:58:11 +0800 | [diff] [blame] | 77 | </androidx.constraintlayout.widget.ConstraintLayout> |
Fan Zhang | cc07043 | 2017-06-05 15:50:00 -0700 | [diff] [blame] | 78 | |
| 79 | <LinearLayout android:id="@+id/ssid_too_long_warning" |
| 80 | android:layout_width="match_parent" |
| 81 | android:layout_height="wrap_content" |
| 82 | android:visibility="gone" |
| 83 | style="@style/wifi_item" > |
| 84 | <TextView |
| 85 | android:layout_width="wrap_content" |
| 86 | android:layout_height="wrap_content" |
| 87 | style="@style/wifi_item_warning" |
| 88 | android:text="@string/wifi_ssid_too_long" /> |
| 89 | </LinearLayout> |
| 90 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 91 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 92 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 93 | <LinearLayout |
| 94 | android:layout_width="match_parent" |
| 95 | android:layout_height="wrap_content" |
| 96 | style="@style/wifi_item" > |
| 97 | <TextView |
| 98 | android:layout_width="wrap_content" |
| 99 | android:layout_height="wrap_content" |
Sanket Padawe | 9235e67 | 2014-12-11 15:48:45 -0800 | [diff] [blame] | 100 | android:minEms="16" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 101 | style="@style/wifi_item_label" |
| 102 | android:text="@string/wifi_security" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 103 | |
Hai Shalom | 1638168 | 2018-11-13 16:37:24 -0800 | [diff] [blame] | 104 | <!-- Entries are added dynamically to this spinner --> |
| 105 | <!-- See WifiConfigController.configureSecuritySpinner --> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 106 | <Spinner android:id="@+id/security" |
| 107 | android:layout_width="match_parent" |
| 108 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 109 | style="@style/wifi_item_spinner" |
Hai Shalom | 1638168 | 2018-11-13 16:37:24 -0800 | [diff] [blame] | 110 | android:prompt="@string/wifi_security" /> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 111 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 112 | </LinearLayout> |
| 113 | |
Irfan Sheriff | b3024fa | 2010-09-16 17:53:59 -0700 | [diff] [blame] | 114 | <LinearLayout android:id="@+id/security_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 115 | android:layout_width="match_parent" |
| 116 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 117 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 118 | android:visibility="gone"> |
| 119 | |
| 120 | <LinearLayout android:id="@+id/eap" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 121 | android:layout_width="match_parent" |
| 122 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 123 | style="@style/wifi_section" |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 124 | android:visibility="gone"> |
| 125 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 126 | <LinearLayout android:id="@+id/l_method" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 127 | android:layout_width="match_parent" |
| 128 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 129 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 130 | style="@style/wifi_item" > |
| 131 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 132 | android:layout_width="wrap_content" |
| 133 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 134 | style="@style/wifi_item_label" |
| 135 | android:text="@string/wifi_eap_method" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 136 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 137 | <Spinner android:id="@+id/method" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 138 | android:layout_width="match_parent" |
| 139 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 140 | style="@style/wifi_item_spinner" |
govenliu | 41cdecc | 2019-07-10 17:29:16 +0800 | [diff] [blame] | 141 | android:prompt="@string/wifi_eap_method" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 142 | </LinearLayout> |
Samuel Tan | f827c92 | 2016-01-21 18:12:53 -0800 | [diff] [blame] | 143 | |
Arc Wang | e410325 | 2020-07-03 14:12:58 +0800 | [diff] [blame] | 144 | <LinearLayout android:id="@+id/l_sim" |
| 145 | android:layout_width="match_parent" |
| 146 | android:layout_height="wrap_content" |
| 147 | android:visibility="gone" |
| 148 | style="@style/wifi_item" > |
| 149 | <TextView |
| 150 | android:layout_width="wrap_content" |
| 151 | android:layout_height="wrap_content" |
| 152 | style="@style/wifi_item_label" |
| 153 | android:text="@string/sim_card" /> |
| 154 | |
| 155 | <Spinner android:id="@+id/sim" |
| 156 | android:layout_width="match_parent" |
| 157 | android:layout_height="wrap_content" |
| 158 | style="@style/wifi_item_spinner" |
| 159 | android:prompt="@string/sim_card" /> |
| 160 | </LinearLayout> |
| 161 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 162 | <LinearLayout android:id="@+id/l_phase2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 163 | android:layout_width="match_parent" |
| 164 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 165 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 166 | style="@style/wifi_item" > |
| 167 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 168 | android:layout_width="wrap_content" |
| 169 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 170 | style="@style/wifi_item_label" |
| 171 | android:text="@string/please_select_phase2" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 172 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 173 | <Spinner android:id="@+id/phase2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 174 | android:layout_width="match_parent" |
| 175 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 176 | style="@style/wifi_item_spinner" |
Arc Wang | 41661fe | 2019-11-19 17:49:34 +0800 | [diff] [blame] | 177 | android:prompt="@string/please_select_phase2" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 178 | </LinearLayout> |
Irfan Sheriff | de3e566 | 2010-06-02 15:25:13 -0700 | [diff] [blame] | 179 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 180 | <LinearLayout android:id="@+id/l_ca_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 181 | android:layout_width="match_parent" |
| 182 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 183 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 184 | style="@style/wifi_item" > |
| 185 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 186 | android:layout_width="wrap_content" |
| 187 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 188 | style="@style/wifi_item_label" |
| 189 | android:text="@string/wifi_eap_ca_cert" /> |
Irfan Sheriff | de3e566 | 2010-06-02 15:25:13 -0700 | [diff] [blame] | 190 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 191 | <Spinner android:id="@+id/ca_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 192 | android:layout_width="match_parent" |
| 193 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 194 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 195 | android:prompt="@string/wifi_eap_ca_cert" /> |
| 196 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 197 | |
Jimmy Chen | 3612d3e | 2019-07-24 11:35:43 +0800 | [diff] [blame] | 198 | <LinearLayout android:id="@+id/l_ocsp" |
| 199 | android:layout_width="match_parent" |
| 200 | android:layout_height="wrap_content" |
| 201 | android:visibility="gone" |
| 202 | style="@style/wifi_item" > |
| 203 | <TextView |
| 204 | android:layout_width="wrap_content" |
| 205 | android:layout_height="wrap_content" |
| 206 | style="@style/wifi_item_label" |
| 207 | android:text="@string/wifi_eap_ocsp" /> |
| 208 | |
| 209 | <Spinner android:id="@+id/ocsp" |
| 210 | android:layout_width="match_parent" |
| 211 | android:layout_height="wrap_content" |
| 212 | style="@style/wifi_item_spinner" |
| 213 | android:prompt="@string/wifi_eap_ocsp" |
| 214 | android:entries="@array/eap_ocsp_type" /> |
| 215 | </LinearLayout> |
| 216 | |
Samuel Tan | d54bbd5 | 2016-01-29 13:26:17 -0800 | [diff] [blame] | 217 | <LinearLayout android:id="@+id/l_domain" |
| 218 | android:layout_width="match_parent" |
| 219 | android:layout_height="wrap_content" |
| 220 | style="@style/wifi_item" > |
| 221 | <TextView |
| 222 | android:layout_width="wrap_content" |
| 223 | android:layout_height="wrap_content" |
| 224 | style="@style/wifi_item_label" |
| 225 | android:text="@string/wifi_eap_domain" /> |
| 226 | |
| 227 | <EditText android:id="@+id/domain" |
| 228 | android:layout_width="match_parent" |
| 229 | android:layout_height="wrap_content" |
| 230 | style="@style/wifi_item_edit_content" |
| 231 | android:singleLine="true" |
| 232 | android:inputType="textNoSuggestions" /> |
| 233 | </LinearLayout> |
| 234 | |
Samuel Tan | 2b16cd3 | 2016-02-02 15:54:37 -0800 | [diff] [blame] | 235 | <LinearLayout android:id="@+id/no_domain_warning" |
| 236 | android:layout_width="match_parent" |
| 237 | android:layout_height="wrap_content" |
| 238 | android:visibility="gone" |
| 239 | style="@style/wifi_item" > |
| 240 | <TextView |
| 241 | android:layout_width="wrap_content" |
| 242 | android:layout_height="wrap_content" |
| 243 | style="@style/wifi_item_warning" |
| 244 | android:text="@string/wifi_no_domain_warning" /> |
| 245 | </LinearLayout> |
| 246 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 247 | <LinearLayout android:id="@+id/l_user_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 248 | android:layout_width="match_parent" |
| 249 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 250 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 251 | style="@style/wifi_item" > |
| 252 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 253 | android:layout_width="wrap_content" |
| 254 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 255 | style="@style/wifi_item_label" |
| 256 | android:text="@string/wifi_eap_user_cert" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 257 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 258 | <Spinner android:id="@+id/user_cert" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 259 | android:layout_width="match_parent" |
| 260 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 261 | style="@style/wifi_item_spinner" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 262 | android:prompt="@string/wifi_eap_user_cert" /> |
| 263 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 264 | |
Arc Wang | 44fa9d5 | 2019-09-20 18:45:28 +0800 | [diff] [blame] | 265 | <LinearLayout android:id="@+id/no_user_cert_warning" |
| 266 | android:layout_width="match_parent" |
| 267 | android:layout_height="wrap_content" |
| 268 | android:visibility="gone" |
| 269 | style="@style/wifi_item" > |
| 270 | <TextView |
| 271 | android:layout_width="wrap_content" |
| 272 | android:layout_height="wrap_content" |
| 273 | style="@style/wifi_item_warning" |
| 274 | android:text="@string/wifi_no_user_cert_warning" /> |
| 275 | </LinearLayout> |
| 276 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 277 | <LinearLayout android:id="@+id/l_identity" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 278 | android:layout_width="match_parent" |
| 279 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 280 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 281 | style="@style/wifi_item" > |
| 282 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 283 | android:layout_width="wrap_content" |
| 284 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 285 | style="@style/wifi_item_label" |
| 286 | android:text="@string/wifi_eap_identity" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 287 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 288 | <EditText android:id="@+id/identity" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 289 | android:layout_width="match_parent" |
| 290 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 291 | style="@style/wifi_item_edit_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 292 | android:singleLine="true" |
| 293 | android:inputType="textNoSuggestions" /> |
| 294 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 295 | |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 296 | <LinearLayout android:id="@+id/l_anonymous" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 297 | android:layout_width="match_parent" |
| 298 | android:layout_height="wrap_content" |
Partha N | ba7ee52 | 2012-01-17 18:33:03 -0800 | [diff] [blame] | 299 | android:visibility="gone" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 300 | style="@style/wifi_item" > |
| 301 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 302 | android:layout_width="wrap_content" |
| 303 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 304 | style="@style/wifi_item_label" |
| 305 | android:text="@string/wifi_eap_anonymous" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 306 | |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 307 | <EditText android:id="@+id/anonymous" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 308 | android:layout_width="match_parent" |
| 309 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 310 | style="@style/wifi_item_edit_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 311 | android:singleLine="true" |
| 312 | android:inputType="textNoSuggestions" /> |
| 313 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 314 | </LinearLayout> |
| 315 | |
Irfan Sheriff | f2e086b | 2013-01-17 09:47:45 -0800 | [diff] [blame] | 316 | <LinearLayout android:id="@+id/password_layout" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 317 | android:layout_width="match_parent" |
| 318 | android:layout_height="wrap_content" |
| 319 | style="@style/wifi_item" > |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 320 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 321 | android:layout_width="wrap_content" |
| 322 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 323 | style="@style/wifi_item_label" |
| 324 | android:text="@string/wifi_password" /> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 325 | |
Arc Wang | 838cbbf | 2019-06-13 15:34:45 +0800 | [diff] [blame] | 326 | <EditText android:id="@+id/password" |
| 327 | android:layout_width="match_parent" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 328 | android:layout_height="wrap_content" |
Arc Wang | 838cbbf | 2019-06-13 15:34:45 +0800 | [diff] [blame] | 329 | style="@style/wifi_item_edit_content" |
| 330 | android:singleLine="true" |
| 331 | android:password="true"/> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 332 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 333 | |
Irfan Sheriff | f2e086b | 2013-01-17 09:47:45 -0800 | [diff] [blame] | 334 | <LinearLayout android:id="@+id/show_password_layout" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 335 | android:layout_width="match_parent" |
| 336 | android:layout_height="wrap_content" |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 337 | style="@style/wifi_item" > |
Edgar Wang | 8829e51 | 2020-07-29 14:57:34 +0800 | [diff] [blame] | 338 | <!-- Placeholder to enable right-justification of checkbox --> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 339 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 340 | android:layout_width="wrap_content" |
| 341 | android:layout_height="wrap_content" |
| 342 | style="@style/wifi_item_label" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 343 | |
| 344 | <CheckBox android:id="@+id/show_password" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 345 | android:layout_width="match_parent" |
| 346 | android:layout_height="wrap_content" |
| 347 | style="@style/wifi_item_content" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 348 | android:text="@string/wifi_show_password" /> |
Amith Yamasani | 1c7e49b | 2010-12-08 11:12:23 -0800 | [diff] [blame] | 349 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 350 | </LinearLayout> |
Irfan Sheriff | f027ce5 | 2010-08-30 17:03:28 -0700 | [diff] [blame] | 351 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 352 | <LinearLayout android:id="@+id/wifi_advanced_toggle" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 353 | android:layout_width="match_parent" |
| 354 | android:layout_height="wrap_content" |
| 355 | style="@style/wifi_item" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 356 | android:paddingBottom="4dp" |
govenliu | 116060e | 2019-10-17 15:57:57 +0800 | [diff] [blame] | 357 | android:importantForAccessibility="no" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 358 | android:visibility="gone"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 359 | <CheckBox android:id="@+id/wifi_advanced_togglebox" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 360 | android:layout_width="match_parent" |
| 361 | android:layout_height="wrap_content" |
Maurice Lam | a8b824d | 2015-02-12 14:53:59 -0800 | [diff] [blame] | 362 | style="@style/wifi_advanced_toggle" |
govenliu | 116060e | 2019-10-17 15:57:57 +0800 | [diff] [blame] | 363 | android:importantForAccessibility="yes" |
| 364 | android:contentDescription="@string/wifi_advanced_toggle_description" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 365 | android:text="@string/wifi_show_advanced" /> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 366 | </LinearLayout> |
| 367 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 368 | <LinearLayout android:id="@+id/wifi_advanced_fields" |
| 369 | android:layout_width="match_parent" |
| 370 | android:layout_height="wrap_content" |
| 371 | android:orientation="vertical" |
| 372 | android:visibility="gone"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 373 | |
govenliu | 712df89 | 2019-09-18 16:56:22 +0800 | [diff] [blame] | 374 | <LinearLayout android:id="@+id/hidden_settings_field" |
| 375 | android:layout_width="match_parent" |
| 376 | android:layout_height="wrap_content" |
| 377 | android:visibility="gone" |
| 378 | style="@style/wifi_item"> |
| 379 | |
| 380 | <TextView android:id="@+id/hidden_settings_title" |
| 381 | android:layout_width="wrap_content" |
| 382 | android:layout_height="wrap_content" |
| 383 | style="@style/wifi_item_label" |
| 384 | android:text="@string/wifi_hidden_network" /> |
| 385 | |
| 386 | <Spinner android:id="@+id/hidden_settings" |
| 387 | android:layout_width="match_parent" |
| 388 | android:layout_height="wrap_content" |
| 389 | style="@style/wifi_item_spinner" |
| 390 | android:prompt="@string/wifi_hidden_network" |
| 391 | android:entries="@array/wifi_hidden_entries"/> |
| 392 | |
| 393 | <TextView android:id="@+id/hidden_settings_warning" |
| 394 | android:layout_width="wrap_content" |
| 395 | android:layout_height="wrap_content" |
| 396 | android:padding="8dp" |
| 397 | android:text="@string/wifi_hidden_network_warning" |
| 398 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 399 | android:visibility="gone"/> |
| 400 | </LinearLayout> |
| 401 | |
jackqdyulei | 261c29c | 2018-01-04 14:55:13 -0800 | [diff] [blame] | 402 | <LinearLayout android:id="@+id/metered_settings_fields" |
| 403 | android:layout_width="match_parent" |
| 404 | android:layout_height="wrap_content" |
| 405 | style="@style/wifi_item"> |
| 406 | |
| 407 | <TextView android:id="@+id/metered_settings_title" |
| 408 | android:layout_width="wrap_content" |
| 409 | android:layout_height="wrap_content" |
| 410 | style="@style/wifi_item_label" |
| 411 | android:text="@string/data_usage_metered_yes" /> |
| 412 | |
| 413 | <Spinner android:id="@+id/metered_settings" |
| 414 | android:layout_width="match_parent" |
| 415 | android:layout_height="wrap_content" |
| 416 | style="@style/wifi_item_spinner" |
| 417 | android:prompt="@string/data_usage_metered_yes" |
| 418 | android:entries="@array/wifi_metered_entries"/> |
| 419 | |
| 420 | </LinearLayout> |
| 421 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 422 | <LinearLayout android:id="@+id/proxy_settings_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 423 | android:layout_width="match_parent" |
| 424 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 425 | style="@style/wifi_item" |
| 426 | android:visibility="gone"> |
| 427 | |
| 428 | <TextView android:id="@+id/proxy_settings_title" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 429 | android:layout_width="wrap_content" |
| 430 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 431 | style="@style/wifi_item_label" |
| 432 | android:text="@string/proxy_settings_title" /> |
| 433 | |
| 434 | <Spinner android:id="@+id/proxy_settings" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 435 | android:layout_width="match_parent" |
| 436 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 437 | style="@style/wifi_item_spinner" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 438 | android:prompt="@string/proxy_settings_title" |
| 439 | android:entries="@array/wifi_proxy_settings" /> |
Jason Monk | 070f356 | 2013-11-05 11:54:48 -0500 | [diff] [blame] | 440 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 441 | </LinearLayout> |
| 442 | |
| 443 | <LinearLayout android:id="@+id/proxy_warning_limited_support" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 444 | android:layout_width="match_parent" |
| 445 | android:layout_height="wrap_content" |
| 446 | style="@style/wifi_item" |
| 447 | android:visibility="gone"> |
Edgar Wang | 8829e51 | 2020-07-29 14:57:34 +0800 | [diff] [blame] | 448 | <!-- Placeholder to enable right-justification of warning --> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 449 | <TextView |
| 450 | android:layout_width="wrap_content" |
| 451 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 452 | style="@style/wifi_item_label" /> |
| 453 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 454 | <TextView |
| 455 | android:layout_width="match_parent" |
| 456 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 457 | style="@style/wifi_item_content" |
| 458 | android:text="@string/proxy_warning_limited_support" /> |
| 459 | </LinearLayout> |
| 460 | |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 461 | <LinearLayout android:id="@+id/proxy_pac_field" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 462 | android:layout_width="match_parent" |
| 463 | android:layout_height="wrap_content" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 464 | style="@style/wifi_section" |
| 465 | android:visibility="gone"> |
Samuel Tan | f827c92 | 2016-01-21 18:12:53 -0800 | [diff] [blame] | 466 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 467 | android:layout_width="match_parent" |
| 468 | android:layout_height="wrap_content" |
| 469 | style="@style/wifi_item"> |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [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" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 473 | style="@style/wifi_item_label" |
| 474 | android:text="@string/proxy_url_title" /> |
| 475 | |
| 476 | <EditText android:id="@+id/proxy_pac" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 477 | android:layout_width="match_parent" |
| 478 | android:layout_height="wrap_content" |
Arc Wang | a001e42 | 2020-02-27 18:36:20 +0800 | [diff] [blame] | 479 | style="@style/wifi_item_edit_content" |
Jason Monk | 0485b7c | 2014-05-08 13:44:07 -0400 | [diff] [blame] | 480 | android:hint="@string/proxy_url_hint" |
| 481 | android:inputType="textNoSuggestions" |
| 482 | android:singleLine="true"/> |
| 483 | </LinearLayout> |
| 484 | </LinearLayout> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 485 | <LinearLayout android:id="@+id/proxy_fields" |
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 | |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 491 | <LinearLayout |
| 492 | android:layout_width="match_parent" |
| 493 | android:layout_height="wrap_content" |
| 494 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 495 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 496 | android:layout_width="wrap_content" |
| 497 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 498 | style="@style/wifi_item_label" |
| 499 | android:text="@string/proxy_hostname_label" /> |
| 500 | |
| 501 | <EditText android:id="@+id/proxy_hostname" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 502 | android:layout_width="match_parent" |
| 503 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 504 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 505 | android:hint="@string/proxy_hostname_hint" |
| 506 | android:inputType="textNoSuggestions" |
| 507 | android:singleLine="true" /> |
| 508 | </LinearLayout> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 509 | <LinearLayout |
| 510 | android:layout_width="match_parent" |
| 511 | android:layout_height="wrap_content" |
| 512 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 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/proxy_port_label" /> |
| 518 | |
| 519 | <EditText android:id="@+id/proxy_port" |
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:hint="@string/proxy_port_hint" |
| 524 | android:inputType="number" |
| 525 | android:singleLine="true" /> |
| 526 | </LinearLayout> |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 527 | <LinearLayout |
| 528 | android:layout_width="match_parent" |
| 529 | android:layout_height="wrap_content" |
| 530 | style="@style/wifi_item"> |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 531 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 532 | android:layout_width="wrap_content" |
| 533 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 534 | style="@style/wifi_item_label" |
| 535 | android:text="@string/proxy_exclusionlist_label" /> |
| 536 | |
| 537 | <EditText android:id="@+id/proxy_exclusionlist" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 538 | android:layout_width="match_parent" |
| 539 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 540 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 541 | android:hint="@string/proxy_exclusionlist_hint" |
| 542 | android:inputType="textNoSuggestions" |
| 543 | android:singleLine="true" /> |
| 544 | </LinearLayout> |
| 545 | </LinearLayout> |
| 546 | |
| 547 | <LinearLayout android:id="@+id/ip_fields" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 548 | android:layout_width="match_parent" |
| 549 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 550 | style="@style/wifi_item" |
| 551 | android:visibility="gone"> |
| 552 | |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 553 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 554 | android:layout_width="wrap_content" |
| 555 | android:layout_height="wrap_content" |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 556 | style="@style/wifi_item_label" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 557 | android:text="@string/wifi_ip_settings" /> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 558 | |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 559 | <Spinner android:id="@+id/ip_settings" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 560 | android:layout_width="match_parent" |
| 561 | android:layout_height="wrap_content" |
Maurice Lam | df055a4 | 2016-05-10 12:45:53 -0700 | [diff] [blame] | 562 | style="@style/wifi_item_spinner" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 563 | android:prompt="@string/wifi_ip_settings" |
| 564 | android:entries="@array/wifi_ip_settings" /> |
| 565 | |
| 566 | </LinearLayout> |
| 567 | |
| 568 | <LinearLayout android:id="@+id/staticip" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 569 | android:layout_width="match_parent" |
| 570 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 571 | style="@style/wifi_section" |
| 572 | android:visibility="gone"> |
| 573 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 574 | android:layout_width="match_parent" |
| 575 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 576 | style="@style/wifi_item" > |
| 577 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 578 | android:layout_width="wrap_content" |
| 579 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 580 | style="@style/wifi_item_label" |
| 581 | android:text="@string/wifi_ip_address" /> |
| 582 | |
| 583 | <EditText android:id="@+id/ipaddress" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 584 | android:layout_width="match_parent" |
| 585 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 586 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 587 | android:singleLine="true" |
| 588 | android:hint="@string/wifi_ip_address_hint" |
| 589 | android:inputType="textNoSuggestions" /> |
| 590 | </LinearLayout> |
| 591 | |
| 592 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 593 | android:layout_width="match_parent" |
| 594 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 595 | style="@style/wifi_item" > |
| 596 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 597 | android:layout_width="wrap_content" |
| 598 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 599 | style="@style/wifi_item_label" |
| 600 | android:text="@string/wifi_gateway" /> |
| 601 | |
| 602 | <EditText android:id="@+id/gateway" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 603 | android:layout_width="match_parent" |
| 604 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 605 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 606 | android:singleLine="true" |
| 607 | android:hint="@string/wifi_gateway_hint" |
| 608 | android:inputType="textNoSuggestions" /> |
| 609 | </LinearLayout> |
| 610 | |
| 611 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 612 | android:layout_width="match_parent" |
| 613 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 614 | style="@style/wifi_item" > |
| 615 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 616 | android:layout_width="wrap_content" |
| 617 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 618 | style="@style/wifi_item_label" |
| 619 | android:text="@string/wifi_network_prefix_length" /> |
| 620 | |
| 621 | <EditText android:id="@+id/network_prefix_length" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 622 | android:layout_width="match_parent" |
| 623 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 624 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 625 | android:singleLine="true" |
| 626 | android:hint="@string/wifi_network_prefix_length_hint" |
| 627 | android:inputType="number" /> |
| 628 | </LinearLayout> |
| 629 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 630 | android:layout_width="match_parent" |
| 631 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 632 | style="@style/wifi_item" > |
| 633 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 634 | android:layout_width="wrap_content" |
| 635 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 636 | style="@style/wifi_item_label" |
| 637 | android:text="@string/wifi_dns1" /> |
| 638 | |
| 639 | <EditText android:id="@+id/dns1" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 640 | android:layout_width="match_parent" |
| 641 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 642 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 643 | android:singleLine="true" |
| 644 | android:hint="@string/wifi_dns1_hint" |
| 645 | android:inputType="textNoSuggestions" /> |
| 646 | </LinearLayout> |
| 647 | |
| 648 | <LinearLayout |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 649 | android:layout_width="match_parent" |
| 650 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 651 | style="@style/wifi_item" > |
| 652 | <TextView |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 653 | android:layout_width="wrap_content" |
| 654 | android:layout_height="wrap_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 655 | style="@style/wifi_item_label" |
| 656 | android:text="@string/wifi_dns2" /> |
| 657 | |
| 658 | <EditText android:id="@+id/dns2" |
PauloftheWest | 6e26427 | 2014-10-02 06:22:47 -0700 | [diff] [blame] | 659 | android:layout_width="match_parent" |
| 660 | android:layout_height="wrap_content" |
Jeff Sharkey | fa6587d | 2013-02-07 15:45:29 -0800 | [diff] [blame] | 661 | style="@style/wifi_item_edit_content" |
Isaac Levy | d621e09 | 2011-08-16 16:11:44 -0700 | [diff] [blame] | 662 | android:singleLine="true" |
| 663 | android:hint="@string/wifi_dns2_hint" |
| 664 | android:inputType="textNoSuggestions" /> |
| 665 | </LinearLayout> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 666 | </LinearLayout> |
Bartosz Fabianowski | 1058c0c | 2015-12-16 17:15:25 +0100 | [diff] [blame] | 667 | |
govenliu | 497c1e3 | 2020-02-24 18:38:57 +0800 | [diff] [blame] | 668 | <LinearLayout android:id="@+id/privacy_settings_fields" |
| 669 | android:layout_width="match_parent" |
| 670 | android:layout_height="wrap_content" |
| 671 | style="@style/wifi_item" |
| 672 | android:visibility="gone"> |
| 673 | |
| 674 | <TextView android:id="@+id/privacy_settings_title" |
| 675 | android:layout_width="wrap_content" |
| 676 | android:layout_height="wrap_content" |
| 677 | style="@style/wifi_item_label" |
| 678 | android:text="@string/wifi_privacy_settings" /> |
| 679 | |
| 680 | <Spinner android:id="@+id/privacy_settings" |
| 681 | android:layout_width="match_parent" |
| 682 | android:layout_height="wrap_content" |
| 683 | style="@style/wifi_item_spinner" |
| 684 | android:prompt="@string/wifi_privacy_settings" |
| 685 | android:entries="@array/wifi_privacy_entries"/> |
| 686 | </LinearLayout> |
| 687 | |
Bartosz Fabianowski | 1058c0c | 2015-12-16 17:15:25 +0100 | [diff] [blame] | 688 | <LinearLayout |
| 689 | android:layout_width="match_parent" |
| 690 | android:layout_height="wrap_content" |
| 691 | style="@style/wifi_section"> |
| 692 | <LinearLayout |
| 693 | android:layout_width="match_parent" |
| 694 | android:layout_height="wrap_content" |
| 695 | style="@style/wifi_item" > |
| 696 | <CheckBox android:id="@+id/shared" |
| 697 | android:layout_width="match_parent" |
| 698 | android:layout_height="wrap_content" |
| 699 | style="@style/wifi_item_content" |
| 700 | android:textSize="14sp" |
| 701 | android:text="@string/wifi_shared" |
| 702 | android:checked="true" /> |
| 703 | </LinearLayout> |
| 704 | </LinearLayout> |
Irfan Sheriff | d9c7dcf | 2011-02-09 15:26:25 -0800 | [diff] [blame] | 705 | </LinearLayout> |
Chia-chi Yeh | 48090d4 | 2010-01-25 15:41:42 +0800 | [diff] [blame] | 706 | </LinearLayout> |
Arc Wang | 12d9d5e | 2021-03-09 14:25:37 +0800 | [diff] [blame] | 707 | </androidx.core.widget.NestedScrollView> |