The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 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" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" > |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 23 | |
| 24 | <LinearLayout style="@style/info_layout"> |
| 25 | |
| 26 | <!-- IMEI --> |
| 27 | <LinearLayout style="@style/entry_layout"> |
| 28 | <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" /> |
| 29 | <TextView android:id="@+id/imei" style="@style/info_value" /> |
| 30 | </LinearLayout> |
| 31 | |
| 32 | <!-- Phone Number --> |
| 33 | <LinearLayout style="@style/entry_layout"> |
| 34 | <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" /> |
| 35 | <TextView android:id="@+id/number" style="@style/info_value" /> |
| 36 | </LinearLayout> |
| 37 | |
| 38 | <!-- Network Identifier --> |
| 39 | <LinearLayout style="@style/entry_layout"> |
| 40 | <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" /> |
| 41 | <TextView android:id="@+id/operator" style="@style/info_value" /> |
| 42 | </LinearLayout> |
| 43 | |
| 44 | <!-- Ping stats --> |
| 45 | <Button android:id="@+id/ping_test" |
| 46 | android:textSize="14sp" |
| 47 | android:layout_marginTop="8dip" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:text="@string/ping_test_label" |
| 51 | /> |
| 52 | |
| 53 | <LinearLayout style="@style/entry_layout"> |
| 54 | <TextView android:text="@string/radio_info_ping_ipaddr" style="@style/info_label" /> |
| 55 | <TextView android:id="@+id/pingIpAddr" style="@style/info_value" /> |
| 56 | </LinearLayout> |
| 57 | |
| 58 | <LinearLayout style="@style/entry_layout"> |
| 59 | <TextView android:text="@string/radio_info_ping_hostname" style="@style/info_label" /> |
| 60 | <TextView android:id="@+id/pingHostname" style="@style/info_value" /> |
| 61 | </LinearLayout> |
| 62 | |
| 63 | <LinearLayout style="@style/entry_layout"> |
| 64 | <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" /> |
| 65 | <TextView android:id="@+id/httpClientTest" style="@style/info_value" /> |
| 66 | </LinearLayout> |
| 67 | |
| 68 | <!-- Signal Strength --> |
| 69 | <LinearLayout style="@style/entry_layout"> |
| 70 | <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" /> |
| 71 | <TextView android:id="@+id/dbm" style="@style/info_value" /> |
| 72 | </LinearLayout> |
| 73 | |
| 74 | <!-- Location --> |
| 75 | <LinearLayout style="@style/entry_layout"> |
| 76 | <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" /> |
| 77 | <TextView android:id="@+id/location" style="@style/info_value" /> |
| 78 | </LinearLayout> |
| 79 | |
| 80 | <!-- Neighboring Cids --> |
| 81 | <LinearLayout style="@style/entry_layout"> |
| 82 | <TextView android:text="@string/radio_info_neighboring_location_label" |
| 83 | style="@style/info_label" /> |
| 84 | <TextView android:id="@+id/neighboring" style="@style/info_value" /> |
| 85 | </LinearLayout> |
| 86 | |
Wink Saville | 79bff2a | 2012-06-01 14:37:21 -0700 | [diff] [blame] | 87 | <!-- CellInfo --> |
| 88 | <LinearLayout style="@style/entry_layout"> |
| 89 | <TextView android:text="@string/radio_info_cellinfo_label" |
| 90 | style="@style/info_label" /> |
| 91 | <TextView android:id="@+id/cellinfo" style="@style/info_value" /> |
| 92 | </LinearLayout> |
| 93 | |
Wink Saville | 4f0d881 | 2014-04-15 22:05:24 -0700 | [diff] [blame] | 94 | <!-- DcRtInfo - DataConnectionRealTimeInfo --> |
| 95 | <LinearLayout style="@style/entry_layout"> |
| 96 | <TextView android:text="@string/radio_info_dcrtinfo_label" |
| 97 | style="@style/info_label" /> |
| 98 | <TextView android:id="@+id/dcrtinfo" style="@style/info_value" /> |
| 99 | </LinearLayout> |
| 100 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 101 | <!-- Roaming --> |
| 102 | <LinearLayout style="@style/entry_layout"> |
| 103 | <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" /> |
| 104 | <TextView android:id="@+id/roaming" style="@style/info_value" /> |
| 105 | </LinearLayout> |
| 106 | |
| 107 | <!-- GSM Service --> |
| 108 | <LinearLayout style="@style/entry_layout"> |
| 109 | <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" /> |
| 110 | <TextView android:id="@+id/gsm" style="@style/info_value" /> |
| 111 | </LinearLayout> |
| 112 | |
| 113 | <!-- GPRS Service --> |
| 114 | <LinearLayout style="@style/entry_layout"> |
| 115 | <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" /> |
| 116 | <TextView android:id="@+id/gprs" style="@style/info_value" /> |
| 117 | </LinearLayout> |
| 118 | |
| 119 | <!-- Network Type --> |
| 120 | <LinearLayout style="@style/entry_layout"> |
| 121 | <TextView android:text="@string/radio_info_network_type_label" style="@style/info_label" /> |
| 122 | <TextView android:id="@+id/network" style="@style/info_value" /> |
| 123 | </LinearLayout> |
| 124 | |
| 125 | <!-- Message Waiting Indicator --> |
| 126 | <LinearLayout style="@style/entry_layout"> |
| 127 | <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" /> |
| 128 | <TextView android:id="@+id/mwi" style="@style/info_value" /> |
| 129 | </LinearLayout> |
| 130 | |
| 131 | <!-- Call Forwarding Indicator --> |
| 132 | <LinearLayout style="@style/entry_layout"> |
| 133 | <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" /> |
| 134 | <TextView android:id="@+id/cfi" style="@style/info_value" /> |
| 135 | </LinearLayout> |
| 136 | |
| 137 | <!-- Call Status --> |
| 138 | <LinearLayout style="@style/entry_layout"> |
| 139 | <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" /> |
| 140 | <TextView android:id="@+id/call" style="@style/info_value" /> |
| 141 | </LinearLayout> |
| 142 | |
| 143 | |
| 144 | <!-- Radio Resets --> |
| 145 | <LinearLayout style="@style/entry_layout"> |
| 146 | <TextView android:text="@string/radio_info_radio_resets_label" style="@style/info_label" /> |
| 147 | <TextView android:id="@+id/resets" style="@style/info_value" /> |
| 148 | </LinearLayout> |
| 149 | |
| 150 | <!-- Attempted Data Connections --> |
| 151 | <LinearLayout style="@style/entry_layout"> |
| 152 | <TextView android:text="@string/radio_info_data_attempts_label" |
| 153 | style="@style/info_label" /> |
| 154 | <TextView android:id="@+id/attempts" style="@style/info_value" /> |
| 155 | </LinearLayout> |
| 156 | |
| 157 | <!-- Successful Data Connections --> |
| 158 | <LinearLayout style="@style/entry_layout"> |
| 159 | <TextView android:text="@string/radio_info_data_successes_label" |
| 160 | style="@style/info_label" /> |
| 161 | <TextView android:id="@+id/successes" style="@style/info_value" /> |
| 162 | </LinearLayout> |
| 163 | |
| 164 | <!-- GSM Disconnects --> |
| 165 | <LinearLayout style="@style/entry_layout"> |
| 166 | <TextView android:text="@string/radio_info_gsm_disconnects_label" |
| 167 | style="@style/info_label" /> |
| 168 | <TextView android:id="@+id/disconnects" style="@style/info_value" /> |
| 169 | </LinearLayout> |
| 170 | |
| 171 | <!-- PPP Sent --> |
| 172 | <LinearLayout style="@style/entry_layout"> |
| 173 | <TextView android:text="@string/radio_info_ppp_sent_label" |
| 174 | style="@style/info_label" /> |
| 175 | <TextView android:id="@+id/sent" style="@style/info_value" /> |
| 176 | </LinearLayout> |
| 177 | |
| 178 | <!-- PPP Received --> |
| 179 | <LinearLayout style="@style/entry_layout"> |
| 180 | <TextView android:text="@string/radio_info_ppp_received_label" |
| 181 | style="@style/info_label" /> |
| 182 | <TextView android:id="@+id/received" style="@style/info_value" /> |
| 183 | </LinearLayout> |
| 184 | |
| 185 | <!-- PPP Sent since last received --> |
| 186 | <LinearLayout style="@style/entry_layout"> |
| 187 | <TextView android:text="@string/radio_info_ppp_resets_label" |
| 188 | style="@style/info_label" /> |
| 189 | <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" /> |
| 190 | </LinearLayout> |
| 191 | |
| 192 | <!-- Preferred Network Type --> |
| 193 | <TextView |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 194 | android:layout_width="match_parent" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 195 | android:layout_height="wrap_content" |
| 196 | android:text="@string/radio_info_set_perferred_label" |
| 197 | style="@style/info_label" |
| 198 | /> |
| 199 | |
| 200 | <Spinner android:id="@+id/preferredNetworkType" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 201 | android:layout_width="match_parent" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 202 | android:layout_height="wrap_content" |
| 203 | /> |
| 204 | |
Tammo Spalink | a5f4c8f | 2009-10-15 20:08:58 +0800 | [diff] [blame] | 205 | <!-- Radio Power --> |
| 206 | <Button android:id="@+id/radio_power" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 207 | android:textSize="14sp" |
| 208 | android:layout_marginTop="8dip" |
| 209 | android:layout_width="wrap_content" |
| 210 | android:layout_height="wrap_content" |
| 211 | /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 212 | |
Wink Saville | bf47128 | 2013-04-05 15:04:05 -0700 | [diff] [blame] | 213 | <!-- CellInfoListRate --> |
| 214 | <Button android:id="@+id/cell_info_list_rate" |
| 215 | android:textSize="14sp" |
| 216 | android:layout_marginTop="8dip" |
| 217 | android:layout_width="wrap_content" |
| 218 | android:layout_height="wrap_content" |
| 219 | /> |
| 220 | |
Wink Saville | 1e596f3 | 2011-09-19 14:24:39 -0700 | [diff] [blame] | 221 | <!-- IMS registration required --> |
| 222 | <Button android:id="@+id/ims_reg_required" |
| 223 | android:textSize="14sp" |
| 224 | android:layout_marginTop="8dip" |
| 225 | android:layout_width="wrap_content" |
| 226 | android:layout_height="wrap_content" |
| 227 | /> |
| 228 | |
Wink Saville | 382a75b | 2011-09-22 15:17:00 -0700 | [diff] [blame] | 229 | <!-- SMS over IMS --> |
| 230 | <Button android:id="@+id/sms_over_ims" |
| 231 | android:textSize="14sp" |
| 232 | android:layout_marginTop="8dip" |
| 233 | android:layout_width="wrap_content" |
| 234 | android:layout_height="wrap_content" |
| 235 | /> |
| 236 | |
Wink Saville | 426fc66 | 2011-09-25 14:39:02 -0700 | [diff] [blame] | 237 | <!-- LTE ram dump --> |
| 238 | <Button android:id="@+id/lte_ram_dump" |
| 239 | android:textSize="14sp" |
| 240 | android:layout_marginTop="8dip" |
| 241 | android:layout_width="wrap_content" |
| 242 | android:layout_height="wrap_content" |
| 243 | /> |
| 244 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 245 | <!-- SMSC --> |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 246 | <RelativeLayout android:layout_width="match_parent" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 247 | android:layout_height="wrap_content"> |
| 248 | <TextView android:id="@+id/smsc_label" |
| 249 | android:text="@string/radio_info_smsc_label" |
| 250 | android:layout_alignBaseline="@+id/update_smsc" |
| 251 | style="@style/info_label" /> |
| 252 | <Button android:id="@+id/refresh_smsc" |
| 253 | android:textSize="14sp" |
| 254 | android:layout_marginTop="8dip" |
| 255 | android:layout_width="wrap_content" |
| 256 | android:layout_height="wrap_content" |
| 257 | android:text="@string/radio_info_smsc_refresh_label" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 258 | android:layout_alignParentEnd="true" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 259 | /> |
| 260 | <Button android:id="@+id/update_smsc" |
| 261 | android:textSize="14sp" |
| 262 | android:layout_marginTop="8dip" |
| 263 | android:layout_width="wrap_content" |
| 264 | android:layout_height="wrap_content" |
| 265 | android:text="@string/radio_info_smsc_update_label" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 266 | android:layout_toStartOf="@+id/refresh_smsc" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 267 | android:layout_alignBaseline="@+id/refresh_smsc" |
| 268 | /> |
| 269 | <EditText android:id="@+id/smsc" |
| 270 | style="@style/form_value" |
| 271 | android:layout_alignBaseline="@+id/refresh_smsc" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 272 | android:layout_toStartOf="@id/update_smsc" |
| 273 | android:layout_toEndOf="@id/smsc_label" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 274 | </RelativeLayout> |
| 275 | |
| 276 | <!-- Test setting to ignore bad DNS, useful in lab environments --> |
| 277 | <LinearLayout style="@style/entry_layout"> |
| 278 | <Button android:id="@+id/dns_check_toggle" |
| 279 | android:textSize="14sp" |
| 280 | android:layout_marginTop="8dip" |
| 281 | android:layout_width="wrap_content" |
| 282 | android:layout_height="wrap_content" |
| 283 | android:text="@string/radio_info_toggle_dns_check_label" |
| 284 | /> |
| 285 | <TextView android:id="@+id/dnsCheckState" style="@style/info_value" /> |
| 286 | </LinearLayout> |
| 287 | |
Tammo Spalink | a5f4c8f | 2009-10-15 20:08:58 +0800 | [diff] [blame] | 288 | <!-- Launch OEM-specific Info/Settings Activity (if any) --> |
| 289 | <Button android:id="@+id/oem_info" |
| 290 | android:textSize="14sp" |
| 291 | android:layout_marginTop="8dip" |
| 292 | android:layout_width="wrap_content" |
| 293 | android:layout_height="wrap_content" |
| 294 | android:text="@string/oem_radio_info_label" |
| 295 | /> |
| 296 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 297 | </LinearLayout> |
| 298 | </ScrollView> |