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 android:paddingTop="40dp" 24 android:layoutDirection="locale" 25 android:textDirection="locale"> 26 27 <LinearLayout style="@style/info_layout" 28 android:descendantFocusability="beforeDescendants" 29 android:focusableInTouchMode="true"> 30 31 <!-- Phone index --> 32 <TextView 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:text="@string/phone_index_label" 36 style="@style/info_label" 37 /> 38 39 <Spinner android:id="@+id/phoneIndex" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 /> 43 44 <!-- IMEI --> 45 <LinearLayout style="@style/RadioInfo_entry_layout"> 46 <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" /> 47 <TextView android:id="@+id/imei" style="@style/info_value" /> 48 </LinearLayout> 49 50 <!-- Phone Number --> 51 <LinearLayout style="@style/RadioInfo_entry_layout"> 52 <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" /> 53 <TextView android:id="@+id/number" style="@style/info_value" /> 54 </LinearLayout> 55 56 <!-- Subscription ID --> 57 <LinearLayout style="@style/RadioInfo_entry_layout"> 58 <TextView android:text="@string/radio_info_subid" style="@style/info_label" /> 59 <TextView android:id="@+id/subid" style="@style/info_value" /> 60 </LinearLayout> 61 62 <!-- Default data subscription --> 63 <LinearLayout style="@style/RadioInfo_entry_layout"> 64 <TextView android:text="@string/radio_info_dds" style="@style/info_label" /> 65 <TextView android:id="@+id/dds" style="@style/info_value" /> 66 </LinearLayout> 67 68 <!-- IMSI --> 69 <LinearLayout style="@style/RadioInfo_entry_layout"> 70 <TextView android:text="@string/radio_info_imsi_label" style="@style/info_label" /> 71 <TextView android:id="@+id/imsi" style="@style/info_value" /> 72 </LinearLayout> 73 74 <!-- Network Identifier --> 75 <LinearLayout style="@style/RadioInfo_entry_layout"> 76 <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" /> 77 <TextView android:id="@+id/operator" style="@style/info_value" /> 78 </LinearLayout> 79 80 <!-- Roaming --> 81 <LinearLayout style="@style/RadioInfo_entry_layout"> 82 <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" /> 83 <TextView android:id="@+id/roaming" style="@style/info_value" /> 84 </LinearLayout> 85 86 <!-- Data Service Status --> 87 <LinearLayout style="@style/RadioInfo_entry_layout"> 88 <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" /> 89 <TextView android:id="@+id/gprs" style="@style/info_value" /> 90 </LinearLayout> 91 92 <!-- Data Network Type --> 93 <LinearLayout style="@style/RadioInfo_entry_layout"> 94 <TextView android:text="@string/radio_info_data_network_type_label" style="@style/info_label" /> 95 <TextView android:id="@+id/data_network" style="@style/info_value" /> 96 </LinearLayout> 97 98 <!-- Data Raw Registration State --> 99 <LinearLayout style="@style/RadioInfo_entry_layout"> 100 <TextView android:text="@string/radio_info_data_raw_registration_state_label" style="@style/info_label" /> 101 <TextView android:id="@+id/data_raw_registration_state" style="@style/info_value" /> 102 </LinearLayout> 103 104 <!-- Override Network Type --> 105 <LinearLayout style="@style/RadioInfo_entry_layout"> 106 <TextView android:text="@string/radio_info_override_network_type_label" style="@style/info_label" /> 107 <TextView android:id="@+id/override_network" style="@style/info_value" /> 108 </LinearLayout> 109 110 <!-- Voice Service Status --> 111 <LinearLayout style="@style/RadioInfo_entry_layout"> 112 <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" /> 113 <TextView android:id="@+id/gsm" style="@style/info_value" /> 114 </LinearLayout> 115 116 <!-- Voice Network Type --> 117 <LinearLayout style="@style/RadioInfo_entry_layout"> 118 <TextView android:text="@string/radio_info_voice_network_type_label" style="@style/info_label" /> 119 <TextView android:id="@+id/voice_network" style="@style/info_value" /> 120 </LinearLayout> 121 122 <!-- Voice Raw Registration State --> 123 <LinearLayout style="@style/RadioInfo_entry_layout"> 124 <TextView android:text="@string/radio_info_voice_raw_registration_state_label" style="@style/info_label" /> 125 <TextView android:id="@+id/voice_raw_registration_state" style="@style/info_value" /> 126 </LinearLayout> 127 128 <!-- PS IWLAN Raw Registration State --> 129 <LinearLayout style="@style/RadioInfo_entry_layout"> 130 <TextView android:text="@string/radio_info_wlan_data_raw_registration_state_label" style="@style/info_label" /> 131 <TextView android:id="@+id/wlan_data_raw_registration_state" style="@style/info_value" /> 132 </LinearLayout> 133 134 <!-- Signal Strength --> 135 <LinearLayout style="@style/RadioInfo_entry_layout"> 136 <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" /> 137 <TextView android:id="@+id/dbm" style="@style/info_value" /> 138 </LinearLayout> 139 140 <!-- Link Bandwidth --> 141 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 142 <TextView android:text="@string/radio_info_dl_kbps" style="@style/info_label" /> 143 <TextView android:id="@+id/dl_kbps" style="@style/info_value" /> 144 </LinearLayout> 145 146 <!-- Link Bandwidth --> 147 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 148 <TextView android:text="@string/radio_info_ul_kbps" style="@style/info_label" /> 149 <TextView android:id="@+id/ul_kbps" style="@style/info_value" /> 150 </LinearLayout> 151 152 153 <!-- EN-DC Available --> 154 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 155 <TextView android:id="@+id/endc_available_label" android:text="@string/radio_info_endc_available" style="@style/info_label" /> 156 <TextView android:id="@+id/endc_available" style="@style/info_value" /> 157 </LinearLayout> 158 159 <!-- DCNR Restricted --> 160 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 161 <TextView android:id="@+id/dcnr_restricted_label" android:text="@string/radio_info_dcnr_restricted" style="@style/info_label" /> 162 <TextView android:id="@+id/dcnr_restricted" style="@style/info_value" /> 163 </LinearLayout> 164 165 <!-- NR Available --> 166 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 167 <TextView android:id="@+id/nr_available_label" android:text="@string/radio_info_nr_available" style="@style/info_label" /> 168 <TextView android:id="@+id/nr_available" style="@style/info_value" /> 169 </LinearLayout> 170 171 <!-- NR State --> 172 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 173 <TextView android:id="@+id/nr_state_label" android:text="@string/radio_info_nr_state" style="@style/info_label" /> 174 <TextView android:id="@+id/nr_state" style="@style/info_value" /> 175 </LinearLayout> 176 177 <!-- NR Frequency --> 178 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 179 <TextView android:id="@+id/nr_frequency_label" android:text="@string/radio_info_nr_frequency" style="@style/info_label" /> 180 <TextView android:id="@+id/nr_frequency" style="@style/info_value" /> 181 </LinearLayout> 182 183 <!-- NR Frequency --> 184 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 185 <TextView android:id="@+id/network_slicing_config_label" android:text="@string/radio_info_network_slicing_config" style="@style/info_label" /> 186 <TextView android:id="@+id/network_slicing_config" style="@style/info_value" /> 187 </LinearLayout> 188 189 <!-- eUICC info --> 190 <LinearLayout style="@style/RadioInfo_entry_layout" android:orientation="horizontal"> 191 <TextView android:id="@+id/euicc_info_label" android:text="@string/radio_info_euicc_info" style="@style/info_label" /> 192 <TextView android:id="@+id/euicc_info" style="@style/info_value" /> 193 </LinearLayout> 194 195 <!-- Horizontal Rule --> 196 <View 197 android:layout_width="fill_parent" 198 android:layout_height="1dip" 199 android:background="?android:attr/listDivider" /> 200 201 <!-- Preferred Network Type --> 202 <TextView 203 android:layout_width="match_parent" 204 android:layout_height="wrap_content" 205 android:text="@string/radio_info_set_perferred_label" 206 style="@style/info_label" 207 /> 208 209 <Spinner android:id="@+id/preferredNetworkType" 210 android:layout_width="match_parent" 211 android:layout_height="wrap_content" 212 /> 213 214 <!-- Mock signal strength --> 215 <LinearLayout style="@style/RadioInfo_entry_layout"> 216 <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" /> 217 <Spinner android:id="@+id/signalStrength" 218 android:layout_width="match_parent" 219 android:layout_height="wrap_content"/> 220 </LinearLayout> 221 222 <!-- Mock data network type --> 223 <LinearLayout style="@style/RadioInfo_entry_layout"> 224 <TextView android:text="@string/radio_info_data_network_type_label" style="@style/info_label" /> 225 <Spinner android:id="@+id/dataNetworkType" 226 android:layout_width="match_parent" 227 android:layout_height="wrap_content"/> 228 </LinearLayout> 229 230 <!-- Horizontal Rule --> 231 <View 232 android:layout_width="fill_parent" 233 android:layout_height="1dip" 234 android:background="?android:attr/listDivider" /> 235 236 <!-- Radio Power --> 237 <Switch android:id="@+id/radio_power" 238 android:textSize="14sp" 239 android:layout_marginTop="8dip" 240 android:layout_width="match_parent" 241 android:layout_height="wrap_content" 242 android:text="@string/radio_info_radio_power"/> 243 244 <!-- Simulate out of service --> 245 <Switch android:id="@+id/simulate_out_of_service" 246 android:textSize="14sp" 247 android:layout_marginTop="8dip" 248 android:layout_width="match_parent" 249 android:layout_height="wrap_content" 250 android:text="@string/simulate_out_of_service_string"/> 251 252 <!-- Simulate this SIM to be satellite --> 253 <Switch android:id="@+id/mock_carrier_roaming_satellite" 254 android:textSize="14sp" 255 android:layout_marginTop="8dip" 256 android:layout_width="match_parent" 257 android:layout_height="wrap_content" 258 android:text="@string/mock_carrier_roaming_satellite_string"/> 259 260 <!-- ESOS --> 261 <Button android:id="@+id/esos_questionnaire" 262 android:textSize="14sp" 263 android:layout_marginTop="8dip" 264 android:layout_width="wrap_content" 265 android:layout_height="wrap_content" 266 android:textAllCaps="false" 267 android:text="@string/esos_satellite_string" 268 /> 269 270 <!-- VoLTE provisioned --> 271 <Switch android:id="@+id/volte_provisioned_switch" 272 android:textSize="14sp" 273 android:layout_marginTop="8dip" 274 android:layout_width="match_parent" 275 android:layout_height="wrap_content" 276 android:text="@string/volte_provisioned_switch_string"/> 277 278 <!-- VT provisioned --> 279 <Switch android:id="@+id/vt_provisioned_switch" 280 android:textSize="14sp" 281 android:layout_marginTop="8dip" 282 android:layout_width="match_parent" 283 android:layout_height="wrap_content" 284 android:text="@string/vt_provisioned_switch_string"/> 285 286 <!-- Wifi Calling provisioned --> 287 <Switch android:id="@+id/wfc_provisioned_switch" 288 android:textSize="14sp" 289 android:layout_marginTop="8dip" 290 android:layout_width="match_parent" 291 android:layout_height="wrap_content" 292 android:text="@string/wfc_provisioned_switch_string"/> 293 294 <!-- EAB/Presence provisioned --> 295 <Switch android:id="@+id/eab_provisioned_switch" 296 android:textSize="14sp" 297 android:layout_marginTop="8dip" 298 android:layout_width="match_parent" 299 android:layout_height="wrap_content" 300 android:text="@string/eab_provisioned_switch_string"/> 301 302 <!-- Horizontal Rule --> 303 <View 304 android:layout_width="fill_parent" 305 android:layout_height="1dip" 306 android:background="?android:attr/listDivider" /> 307 308 <!-- Enable/Disable CBRS data --> 309 <Switch android:id="@+id/cbrs_data_switch" 310 android:textSize="14sp" 311 android:layout_marginTop="8dip" 312 android:layout_width="match_parent" 313 android:layout_height="wrap_content" 314 android:text="@string/cbrs_data_switch_string" /> 315 316 <!-- Switch between SSSS(single sim single standby) and DSDS(dual sim dual standby). --> 317 <Switch android:id="@+id/dsds_switch" 318 android:textSize="14sp" 319 android:layout_marginTop="8dip" 320 android:layout_width="match_parent" 321 android:layout_height="wrap_content" 322 android:text="@string/dsds_switch_string" /> 323 324 <!-- Set removable eSIM as default eUICC. --> 325 <Switch android:id="@+id/removable_esim_switch" 326 android:textSize="14sp" 327 android:layout_marginTop="8dip" 328 android:layout_width="match_parent" 329 android:layout_height="wrap_content" 330 android:enabled="false" 331 android:text="@string/removable_esim_string" /> 332 333 <!-- Horizontal Rule --> 334 <View 335 android:layout_width="fill_parent" 336 android:layout_height="1dip" 337 android:background="?android:attr/listDivider" /> 338 339 <!-- Ping stats --> 340 <Button android:id="@+id/ping_test" 341 android:textSize="14sp" 342 android:layout_marginTop="8dip" 343 android:layout_width="wrap_content" 344 android:layout_height="wrap_content" 345 android:text="@string/ping_test_label" 346 /> 347 348 <LinearLayout style="@style/RadioInfo_entry_layout"> 349 <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" /> 350 <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" /> 351 </LinearLayout> 352 353 <LinearLayout style="@style/RadioInfo_entry_layout"> 354 <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" /> 355 <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" /> 356 </LinearLayout> 357 358 <LinearLayout style="@style/RadioInfo_entry_layout"> 359 <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" /> 360 <TextView android:id="@+id/httpClientTest" style="@style/info_value" /> 361 </LinearLayout> 362 363 <!-- Horizontal Rule --> 364 <View 365 android:layout_width="fill_parent" 366 android:layout_height="1dip" 367 android:background="?android:attr/listDivider" /> 368 369 <!-- PPP Sent --> 370 <LinearLayout style="@style/RadioInfo_entry_layout"> 371 <TextView android:text="@string/radio_info_ppp_sent_label" 372 style="@style/info_label" /> 373 <TextView android:id="@+id/sent" style="@style/info_value" /> 374 </LinearLayout> 375 376 <!-- PPP Received --> 377 <LinearLayout style="@style/RadioInfo_entry_layout"> 378 <TextView android:text="@string/radio_info_ppp_received_label" 379 style="@style/info_label" /> 380 <TextView android:id="@+id/received" style="@style/info_value" /> 381 </LinearLayout> 382 383 <!-- PPP Sent since last received --> 384 <LinearLayout style="@style/RadioInfo_entry_layout"> 385 <TextView android:text="@string/radio_info_ppp_resets_label" 386 style="@style/info_label" /> 387 <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" /> 388 </LinearLayout> 389 390 <!-- Horizontal Rule --> 391 <View 392 android:layout_width="fill_parent" 393 android:layout_height="1dip" 394 android:background="?android:attr/listDivider" /> 395 396 <!-- Call Status --> 397 <LinearLayout style="@style/RadioInfo_entry_layout"> 398 <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" /> 399 <TextView android:id="@+id/call" style="@style/info_value" /> 400 </LinearLayout> 401 402 <!-- Message Waiting Indicator --> 403 <LinearLayout style="@style/RadioInfo_entry_layout"> 404 <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" /> 405 <TextView android:id="@+id/mwi" style="@style/info_value" /> 406 </LinearLayout> 407 408 <!-- Call Forwarding Indicator --> 409 <LinearLayout style="@style/RadioInfo_entry_layout"> 410 <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" /> 411 <TextView android:id="@+id/cfi" style="@style/info_value" /> 412 </LinearLayout> 413 414 <!-- Horizontal Rule --> 415 <View 416 android:layout_width="fill_parent" 417 android:layout_height="1dip" 418 android:background="?android:attr/listDivider" /> 419 420 <!-- CellInfoListRate Selection --> 421 422 <TextView 423 android:layout_width="match_parent" 424 android:layout_height="wrap_content" 425 android:text="@string/radio_info_cell_info_refresh_rate" 426 style="@style/info_label" 427 /> 428 429 <Spinner android:id="@+id/cell_info_rate_select" 430 android:layout_width="match_parent" 431 android:layout_height="wrap_content" 432 /> 433 434 <!-- Physical Channel Config --> 435 <LinearLayout style="@style/RadioInfo_entry_layout"> 436 <TextView android:text="@string/radio_info_phy_chan_config" style="@style/info_label" /> 437 <TextView android:id="@+id/phy_chan_config" style="@style/info_value" /> 438 </LinearLayout> 439 440 <!-- CellInfo --> 441 <LinearLayout style="@style/RadioInfo_entry_layout"> 442 <TextView android:text="@string/radio_info_cellinfo_label" 443 style="@style/info_label" /> 444 </LinearLayout> 445 <LinearLayout style="@style/RadioInfo_entry_layout"> 446 <TextView android:id="@+id/cellinfo" 447 style="@style/info_value" 448 android:minHeight="300dip" 449 android:textSize="12sp" /> 450 </LinearLayout> 451 452 <!-- Horizontal Rule --> 453 <View 454 android:layout_width="fill_parent" 455 android:layout_height="1dip" 456 android:background="?android:attr/listDivider" /> 457 458 <!-- Launch OEM-specific Info/Settings Activity (if any) --> 459 <!-- Carrier Provisioning --> 460 <LinearLayout style="@style/RadioInfo_entry_layout" 461 android:orientation="horizontal" > 462 <Button android:id="@+id/carrier_provisioning" 463 android:layout_marginTop="8dip" 464 android:layout_weight="1" 465 android:layout_width="0dp" 466 android:layout_height="wrap_content" 467 android:text="@string/carrier_provisioning" 468 android:textSize="14sp"/> 469 <Button android:id="@+id/trigger_carrier_provisioning" 470 android:layout_marginTop="8dip" 471 android:layout_weight="1" 472 android:layout_width="0dp" 473 android:layout_height="wrap_content" 474 android:text="@string/trigger_carrier_provisioning" 475 android:textSize="14sp"/> 476 <Button android:id="@+id/oem_info" 477 android:layout_marginTop="8dip" 478 android:layout_weight="1" 479 android:layout_width="0dp" 480 android:layout_height="wrap_content" 481 android:text="@string/oem_radio_info_label" 482 android:textSize="14sp"/> 483 </LinearLayout> 484 485 <!-- SMSC --> 486 <RelativeLayout android:layout_width="match_parent" 487 android:layout_height="wrap_content"> 488 <TextView android:id="@+id/smsc_label" 489 android:text="@string/radio_info_smsc_label" 490 android:layout_alignBaseline="@+id/update_smsc" 491 style="@style/info_label" /> 492 <Button android:id="@+id/refresh_smsc" 493 android:textSize="14sp" 494 android:layout_marginTop="8dip" 495 android:layout_width="wrap_content" 496 android:layout_height="wrap_content" 497 android:text="@string/radio_info_smsc_refresh_label" 498 android:layout_alignParentEnd="true" 499 /> 500 <Button android:id="@+id/update_smsc" 501 android:textSize="14sp" 502 android:layout_marginTop="8dip" 503 android:layout_width="wrap_content" 504 android:layout_height="wrap_content" 505 android:text="@string/radio_info_smsc_update_label" 506 android:layout_toStartOf="@+id/refresh_smsc" 507 android:layout_alignBaseline="@+id/refresh_smsc" 508 /> 509 <EditText android:id="@+id/smsc" 510 style="@style/form_value" 511 android:layout_alignBaseline="@+id/refresh_smsc" 512 android:layout_toStartOf="@id/update_smsc" 513 android:layout_toEndOf="@id/smsc_label" /> 514 </RelativeLayout> 515 516 <!-- Test setting to ignore bad DNS, useful in lab environments --> 517 <LinearLayout style="@style/RadioInfo_entry_layout"> 518 <Button android:id="@+id/dns_check_toggle" 519 android:textSize="14sp" 520 android:layout_marginTop="8dip" 521 android:layout_width="wrap_content" 522 android:layout_height="wrap_content" 523 android:text="@string/radio_info_toggle_dns_check_label" 524 /> 525 <TextView android:id="@+id/dnsCheckState" style="@style/info_value" /> 526 </LinearLayout> 527 528 529 </LinearLayout> 530</ScrollView> 531