1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* //device/apps/Settings/assets/res/any/layout/radio_info.xml 4** 5** Copyright 2006, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent"> 23 24 <LinearLayout style="@style/info_layout" 25 android:descendantFocusability="beforeDescendants" 26 android:focusableInTouchMode="true"> 27 28 <!-- Phone index --> 29 <TextView 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:text="@string/phone_index_label" 33 style="@style/info_label" 34 /> 35 36 <Spinner android:id="@+id/phoneIndex" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 /> 40 41 <!-- IMEI --> 42 <LinearLayout style="@style/RadioInfo_entry_layout"> 43 <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" /> 44 <TextView android:id="@+id/imei" style="@style/info_value" /> 45 </LinearLayout> 46 47 <!-- Phone Number --> 48 <LinearLayout style="@style/RadioInfo_entry_layout"> 49 <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" /> 50 <TextView android:id="@+id/number" style="@style/info_value" /> 51 </LinearLayout> 52 53 <!-- Subscription ID --> 54 <LinearLayout style="@style/RadioInfo_entry_layout"> 55 <TextView android:text="@string/radio_info_subid" style="@style/info_label" /> 56 <TextView android:id="@+id/subid" style="@style/info_value" /> 57 </LinearLayout> 58 59 <!-- Default data subscription --> 60 <LinearLayout style="@style/RadioInfo_entry_layout"> 61 <TextView android:text="@string/radio_info_dds" style="@style/info_label" /> 62 <TextView android:id="@+id/dds" style="@style/info_value" /> 63 </LinearLayout> 64 65 <!-- IMSI --> 66 <LinearLayout style="@style/RadioInfo_entry_layout"> 67 <TextView android:text="@string/radio_info_imsi_label" style="@style/info_label" /> 68 <TextView android:id="@+id/imsi" style="@style/info_value" /> 69 </LinearLayout> 70 71 <!-- Network Identifier --> 72 <LinearLayout style="@style/RadioInfo_entry_layout"> 73 <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" /> 74 <TextView android:id="@+id/operator" style="@style/info_value" /> 75 </LinearLayout> 76 77 <!-- Roaming --> 78 <LinearLayout style="@style/RadioInfo_entry_layout"> 79 <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" /> 80 <TextView android:id="@+id/roaming" style="@style/info_value" /> 81 </LinearLayout> 82 83 <!-- Data Service Status --> 84 <LinearLayout style="@style/RadioInfo_entry_layout"> 85 <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" /> 86 <TextView android:id="@+id/gprs" style="@style/info_value" /> 87 </LinearLayout> 88 89 <!-- Data Network Type --> 90 <LinearLayout style="@style/RadioInfo_entry_layout"> 91 <TextView android:text="@string/radio_info_data_network_type_label" style="@style/info_label" /> 92 <TextView android:id="@+id/data_network" style="@style/info_value" /> 93 </LinearLayout> 94 95 <!-- Override Network Type --> 96 <LinearLayout style="@style/RadioInfo_entry_layout"> 97 <TextView android:text="@string/radio_info_override_network_type_label" style="@style/info_label" /> 98 <TextView android:id="@+id/override_network" style="@style/info_value" /> 99 </LinearLayout> 100 101 <!-- Voice Service Status --> 102 <LinearLayout style="@style/RadioInfo_entry_layout"> 103 <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" /> 104 <TextView android:id="@+id/gsm" style="@style/info_value" /> 105 </LinearLayout> 106 107 <!-- Voice Network Type --> 108 <LinearLayout style="@style/RadioInfo_entry_layout"> 109 <TextView android:text="@string/radio_info_voice_network_type_label" style="@style/info_label" /> 110 <TextView android:id="@+id/voice_network" style="@style/info_value" /> 111 </LinearLayout> 112 113 <!-- Signal Strength --> 114 <LinearLayout style="@style/RadioInfo_entry_layout"> 115 <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" /> 116 <TextView android:id="@+id/dbm" style="@style/info_value" /> 117 </LinearLayout> 118 119 <!-- Link Bandwidth --> 120 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 121 <TextView android:text="@string/radio_info_dl_kbps" style="@style/info_label" /> 122 <TextView android:id="@+id/dl_kbps" style="@style/info_value" /> 123 </LinearLayout> 124 125 <!-- Link Bandwidth --> 126 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 127 <TextView android:text="@string/radio_info_ul_kbps" style="@style/info_label" /> 128 <TextView android:id="@+id/ul_kbps" style="@style/info_value" /> 129 </LinearLayout> 130 131 132 <!-- EN-DC Available --> 133 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 134 <TextView android:id="@+id/endc_available_label" android:text="@string/radio_info_endc_available" style="@style/info_label" /> 135 <TextView android:id="@+id/endc_available" style="@style/info_value" /> 136 </LinearLayout> 137 138 <!-- DCNR Restricted --> 139 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 140 <TextView android:id="@+id/dcnr_restricted_label" android:text="@string/radio_info_dcnr_restricted" style="@style/info_label" /> 141 <TextView android:id="@+id/dcnr_restricted" style="@style/info_value" /> 142 </LinearLayout> 143 144 <!-- NR Available --> 145 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 146 <TextView android:id="@+id/nr_available_label" android:text="@string/radio_info_nr_available" style="@style/info_label" /> 147 <TextView android:id="@+id/nr_available" style="@style/info_value" /> 148 </LinearLayout> 149 150 <!-- NR State --> 151 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 152 <TextView android:id="@+id/nr_state_label" android:text="@string/radio_info_nr_state" style="@style/info_label" /> 153 <TextView android:id="@+id/nr_state" style="@style/info_value" /> 154 </LinearLayout> 155 156 <!-- NR Frequency --> 157 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 158 <TextView android:id="@+id/nr_frequency_label" android:text="@string/radio_info_nr_frequency" style="@style/info_label" /> 159 <TextView android:id="@+id/nr_frequency" style="@style/info_value" /> 160 </LinearLayout> 161 162 <!-- NR Frequency --> 163 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 164 <TextView android:id="@+id/network_slicing_config_label" android:text="@string/radio_info_network_slicing_config" style="@style/info_label" /> 165 <TextView android:id="@+id/network_slicing_config" style="@style/info_value" /> 166 </LinearLayout> 167 168 <!-- Physical Channel Config --> 169 <LinearLayout style="@style/RadioInfo_entry_layout"> 170 <TextView android:text="@string/radio_info_phy_chan_config" style="@style/info_label" /> 171 <TextView android:id="@+id/phy_chan_config" style="@style/info_value" /> 172 </LinearLayout> 173 174 <!-- Horizontal Rule --> 175 <View 176 android:layout_width="fill_parent" 177 android:layout_height="1dip" 178 android:background="?android:attr/listDivider" /> 179 180 <!-- Preferred Network Type --> 181 <TextView 182 android:layout_width="match_parent" 183 android:layout_height="wrap_content" 184 android:text="@string/radio_info_set_perferred_label" 185 style="@style/info_label" 186 /> 187 188 <Spinner android:id="@+id/preferredNetworkType" 189 android:layout_width="match_parent" 190 android:layout_height="wrap_content" 191 /> 192 193 <!-- Horizontal Rule --> 194 <View 195 android:layout_width="fill_parent" 196 android:layout_height="1dip" 197 android:background="?android:attr/listDivider" /> 198 199 <!-- Radio Power --> 200 <Switch android:id="@+id/radio_power" 201 android:textSize="14sp" 202 android:layout_marginTop="8dip" 203 android:layout_width="match_parent" 204 android:layout_height="wrap_content" 205 android:text="@string/radio_info_radio_power"/> 206 207 <!-- VoLTE provisioned --> 208 <Switch android:id="@+id/volte_provisioned_switch" 209 android:textSize="14sp" 210 android:layout_marginTop="8dip" 211 android:layout_width="match_parent" 212 android:layout_height="wrap_content" 213 android:text="@string/volte_provisioned_switch_string"/> 214 215 <!-- VT provisioned --> 216 <Switch android:id="@+id/vt_provisioned_switch" 217 android:textSize="14sp" 218 android:layout_marginTop="8dip" 219 android:layout_width="match_parent" 220 android:layout_height="wrap_content" 221 android:text="@string/vt_provisioned_switch_string"/> 222 223 <!-- Wifi Calling provisioned --> 224 <Switch android:id="@+id/wfc_provisioned_switch" 225 android:textSize="14sp" 226 android:layout_marginTop="8dip" 227 android:layout_width="match_parent" 228 android:layout_height="wrap_content" 229 android:text="@string/wfc_provisioned_switch_string"/> 230 231 <!-- EAB/Presence provisioned --> 232 <Switch android:id="@+id/eab_provisioned_switch" 233 android:textSize="14sp" 234 android:layout_marginTop="8dip" 235 android:layout_width="match_parent" 236 android:layout_height="wrap_content" 237 android:text="@string/eab_provisioned_switch_string"/> 238 239 <!-- Horizontal Rule --> 240 <View 241 android:layout_width="fill_parent" 242 android:layout_height="1dip" 243 android:background="?android:attr/listDivider" /> 244 245 <!-- Enable/Disable CBRS data --> 246 <Switch android:id="@+id/cbrs_data_switch" 247 android:textSize="14sp" 248 android:layout_marginTop="8dip" 249 android:layout_width="match_parent" 250 android:layout_height="wrap_content" 251 android:text="@string/cbrs_data_switch_string" /> 252 253 <!-- Switch between SSSS(single sim single standby) and DSDS(dual sim dual standby). --> 254 <Switch android:id="@+id/dsds_switch" 255 android:textSize="14sp" 256 android:layout_marginTop="8dip" 257 android:layout_width="match_parent" 258 android:layout_height="wrap_content" 259 android:text="@string/dsds_switch_string" /> 260 261 <!-- Set removable eSIM as default eUICC. --> 262 <Switch android:id="@+id/removable_esim_switch" 263 android:textSize="14sp" 264 android:layout_marginTop="8dip" 265 android:layout_width="match_parent" 266 android:layout_height="wrap_content" 267 android:enabled="false" 268 android:text="@string/removable_esim_string" /> 269 270 <!-- Horizontal Rule --> 271 <View 272 android:layout_width="fill_parent" 273 android:layout_height="1dip" 274 android:background="?android:attr/listDivider" /> 275 276 <!-- Ping stats --> 277 <Button android:id="@+id/ping_test" 278 android:textSize="14sp" 279 android:layout_marginTop="8dip" 280 android:layout_width="wrap_content" 281 android:layout_height="wrap_content" 282 android:text="@string/ping_test_label" 283 /> 284 285 <LinearLayout style="@style/RadioInfo_entry_layout"> 286 <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" /> 287 <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" /> 288 </LinearLayout> 289 290 <LinearLayout style="@style/RadioInfo_entry_layout"> 291 <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" /> 292 <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" /> 293 </LinearLayout> 294 295 <LinearLayout style="@style/RadioInfo_entry_layout"> 296 <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" /> 297 <TextView android:id="@+id/httpClientTest" style="@style/info_value" /> 298 </LinearLayout> 299 300 <!-- Horizontal Rule --> 301 <View 302 android:layout_width="fill_parent" 303 android:layout_height="1dip" 304 android:background="?android:attr/listDivider" /> 305 306 <!-- PPP Sent --> 307 <LinearLayout style="@style/RadioInfo_entry_layout"> 308 <TextView android:text="@string/radio_info_ppp_sent_label" 309 style="@style/info_label" /> 310 <TextView android:id="@+id/sent" style="@style/info_value" /> 311 </LinearLayout> 312 313 <!-- PPP Received --> 314 <LinearLayout style="@style/RadioInfo_entry_layout"> 315 <TextView android:text="@string/radio_info_ppp_received_label" 316 style="@style/info_label" /> 317 <TextView android:id="@+id/received" style="@style/info_value" /> 318 </LinearLayout> 319 320 <!-- PPP Sent since last received --> 321 <LinearLayout style="@style/RadioInfo_entry_layout"> 322 <TextView android:text="@string/radio_info_ppp_resets_label" 323 style="@style/info_label" /> 324 <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" /> 325 </LinearLayout> 326 327 <!-- Horizontal Rule --> 328 <View 329 android:layout_width="fill_parent" 330 android:layout_height="1dip" 331 android:background="?android:attr/listDivider" /> 332 333 <!-- Call Status --> 334 <LinearLayout style="@style/RadioInfo_entry_layout"> 335 <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" /> 336 <TextView android:id="@+id/call" style="@style/info_value" /> 337 </LinearLayout> 338 339 <!-- Message Waiting Indicator --> 340 <LinearLayout style="@style/RadioInfo_entry_layout"> 341 <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" /> 342 <TextView android:id="@+id/mwi" style="@style/info_value" /> 343 </LinearLayout> 344 345 <!-- Call Forwarding Indicator --> 346 <LinearLayout style="@style/RadioInfo_entry_layout"> 347 <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" /> 348 <TextView android:id="@+id/cfi" style="@style/info_value" /> 349 </LinearLayout> 350 351 <!-- Horizontal Rule --> 352 <View 353 android:layout_width="fill_parent" 354 android:layout_height="1dip" 355 android:background="?android:attr/listDivider" /> 356 357 <!-- CellInfoListRate Selection --> 358 359 <TextView 360 android:layout_width="match_parent" 361 android:layout_height="wrap_content" 362 android:text="@string/radio_info_cell_info_refresh_rate" 363 style="@style/info_label" 364 /> 365 366 <Spinner android:id="@+id/cell_info_rate_select" 367 android:layout_width="match_parent" 368 android:layout_height="wrap_content" 369 /> 370 371 <!-- CellInfo --> 372 <LinearLayout style="@style/RadioInfo_entry_layout"> 373 <TextView android:text="@string/radio_info_cellinfo_label" 374 style="@style/info_label" /> 375 </LinearLayout> 376 <LinearLayout style="@style/RadioInfo_entry_layout"> 377 <TextView android:id="@+id/cellinfo" 378 style="@style/info_value" 379 android:minHeight="300dip" 380 android:textSize="12sp" /> 381 </LinearLayout> 382 383 <!-- Horizontal Rule --> 384 <View 385 android:layout_width="fill_parent" 386 android:layout_height="1dip" 387 android:background="?android:attr/listDivider" /> 388 389 <!-- Launch OEM-specific Info/Settings Activity (if any) --> 390 <!-- Carrier Provisioning --> 391 <LinearLayout style="@style/RadioInfo_entry_layout" 392 android:orientation="horizontal" > 393 <Button android:id="@+id/carrier_provisioning" 394 android:layout_marginTop="8dip" 395 android:layout_weight="1" 396 android:layout_width="0dp" 397 android:layout_height="wrap_content" 398 android:text="@string/carrier_provisioning" 399 android:textSize="14sp"/> 400 <Button android:id="@+id/trigger_carrier_provisioning" 401 android:layout_marginTop="8dip" 402 android:layout_weight="1" 403 android:layout_width="0dp" 404 android:layout_height="wrap_content" 405 android:text="@string/trigger_carrier_provisioning" 406 android:textSize="14sp"/> 407 <Button android:id="@+id/oem_info" 408 android:layout_marginTop="8dip" 409 android:layout_weight="1" 410 android:layout_width="0dp" 411 android:layout_height="wrap_content" 412 android:text="@string/oem_radio_info_label" 413 android:textSize="14sp"/> 414 </LinearLayout> 415 416 <!-- SMSC --> 417 <RelativeLayout android:layout_width="match_parent" 418 android:layout_height="wrap_content"> 419 <TextView android:id="@+id/smsc_label" 420 android:text="@string/radio_info_smsc_label" 421 android:layout_alignBaseline="@+id/update_smsc" 422 style="@style/info_label" /> 423 <Button android:id="@+id/refresh_smsc" 424 android:textSize="14sp" 425 android:layout_marginTop="8dip" 426 android:layout_width="wrap_content" 427 android:layout_height="wrap_content" 428 android:text="@string/radio_info_smsc_refresh_label" 429 android:layout_alignParentEnd="true" 430 /> 431 <Button android:id="@+id/update_smsc" 432 android:textSize="14sp" 433 android:layout_marginTop="8dip" 434 android:layout_width="wrap_content" 435 android:layout_height="wrap_content" 436 android:text="@string/radio_info_smsc_update_label" 437 android:layout_toStartOf="@+id/refresh_smsc" 438 android:layout_alignBaseline="@+id/refresh_smsc" 439 /> 440 <EditText android:id="@+id/smsc" 441 style="@style/form_value" 442 android:layout_alignBaseline="@+id/refresh_smsc" 443 android:layout_toStartOf="@id/update_smsc" 444 android:layout_toEndOf="@id/smsc_label" /> 445 </RelativeLayout> 446 447 <!-- Test setting to ignore bad DNS, useful in lab environments --> 448 <LinearLayout style="@style/RadioInfo_entry_layout"> 449 <Button android:id="@+id/dns_check_toggle" 450 android:textSize="14sp" 451 android:layout_marginTop="8dip" 452 android:layout_width="wrap_content" 453 android:layout_height="wrap_content" 454 android:text="@string/radio_info_toggle_dns_check_label" 455 /> 456 <TextView android:id="@+id/dnsCheckState" style="@style/info_value" /> 457 </LinearLayout> 458 459 460 </LinearLayout> 461</ScrollView> 462