blob: 502505c0aeea1afaa3570f7b859cf4491c6733dd [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?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 Guy33787152010-01-08 15:07:10 -080021 android:layout_width="match_parent"
Nathan Harolded38afa2016-04-13 00:29:30 -070022 android:layout_height="match_parent">
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080023
Nathan Harolded38afa2016-04-13 00:29:30 -070024 <LinearLayout style="@style/info_layout"
25 android:descendantFocusability="beforeDescendants"
26 android:focusableInTouchMode="true">
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080027
28 <!-- IMEI -->
29 <LinearLayout style="@style/entry_layout">
30 <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" />
31 <TextView android:id="@+id/imei" style="@style/info_value" />
32 </LinearLayout>
33
34 <!-- Phone Number -->
35 <LinearLayout style="@style/entry_layout">
36 <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" />
37 <TextView android:id="@+id/number" style="@style/info_value" />
38 </LinearLayout>
39
Meng Wang9053f172017-06-23 16:02:14 -070040 <!-- IMSI -->
41 <LinearLayout style="@style/entry_layout">
42 <TextView android:text="@string/radio_info_imsi_label" style="@style/info_label" />
43 <TextView android:id="@+id/imsi" style="@style/info_value" />
44 </LinearLayout>
45
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080046 <!-- Network Identifier -->
47 <LinearLayout style="@style/entry_layout">
48 <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" />
49 <TextView android:id="@+id/operator" style="@style/info_value" />
50 </LinearLayout>
51
Nathan Harold2b77d742016-03-19 13:22:10 -070052 <!-- Signal Strength -->
53 <LinearLayout style="@style/entry_layout">
54 <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" />
55 <TextView android:id="@+id/dbm" style="@style/info_value" />
56 </LinearLayout>
57
58 <!-- Voice Service Status -->
59 <LinearLayout style="@style/entry_layout">
60 <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" />
61 <TextView android:id="@+id/gsm" style="@style/info_value" />
62 </LinearLayout>
63
64 <!-- Data Service Status -->
65 <LinearLayout style="@style/entry_layout">
66 <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" />
67 <TextView android:id="@+id/gprs" style="@style/info_value" />
68 </LinearLayout>
69
70 <!-- Network Type -->
71 <LinearLayout style="@style/entry_layout">
72 <TextView android:text="@string/radio_info_voice_network_type_label" style="@style/info_label" />
73 <TextView android:id="@+id/voice_network" style="@style/info_value" />
74 </LinearLayout>
75
76 <!-- Network Type -->
77 <LinearLayout style="@style/entry_layout">
78 <TextView android:text="@string/radio_info_data_network_type_label" style="@style/info_label" />
79 <TextView android:id="@+id/data_network" style="@style/info_value" />
80 </LinearLayout>
81
82 <!-- Call Status -->
83 <LinearLayout style="@style/entry_layout">
84 <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" />
85 <TextView android:id="@+id/call" style="@style/info_value" />
86 </LinearLayout>
87
88 <!-- Roaming -->
89 <LinearLayout style="@style/entry_layout">
90 <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" />
91 <TextView android:id="@+id/roaming" style="@style/info_value" />
92 </LinearLayout>
93
94 <!-- Preferred Network Type -->
95 <TextView
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:text="@string/radio_info_set_perferred_label"
99 style="@style/info_label"
100 />
101
102 <Spinner android:id="@+id/preferredNetworkType"
103 android:layout_width="match_parent"
104 android:layout_height="wrap_content"
105 />
106
107 <!-- Horizontal Rule -->
108 <View
109 android:layout_width="fill_parent"
110 android:layout_height="1dip"
111 android:background="#000000" />
112
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800113 <!-- Ping stats -->
114 <Button android:id="@+id/ping_test"
115 android:textSize="14sp"
116 android:layout_marginTop="8dip"
117 android:layout_width="wrap_content"
118 android:layout_height="wrap_content"
119 android:text="@string/ping_test_label"
120 />
121
122 <LinearLayout style="@style/entry_layout">
Nathan Haroldcea413a2015-11-23 15:48:10 -0800123 <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
124 <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800125 </LinearLayout>
126
127 <LinearLayout style="@style/entry_layout">
Nathan Haroldcea413a2015-11-23 15:48:10 -0800128 <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" />
129 <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800130 </LinearLayout>
131
132 <LinearLayout style="@style/entry_layout">
133 <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
134 <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
135 </LinearLayout>
136
Nathan Harold2b77d742016-03-19 13:22:10 -0700137 <!-- Horizontal Rule -->
138 <View
139 android:layout_width="fill_parent"
140 android:layout_height="1dip"
141 android:background="#000000" />
Wink Saville79bff2a2012-06-01 14:37:21 -0700142
Wink Saville4f0d8812014-04-15 22:05:24 -0700143 <!-- DcRtInfo - DataConnectionRealTimeInfo -->
144 <LinearLayout style="@style/entry_layout">
145 <TextView android:text="@string/radio_info_dcrtinfo_label"
146 style="@style/info_label" />
147 <TextView android:id="@+id/dcrtinfo" style="@style/info_value" />
148 </LinearLayout>
149
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800150 <!-- Message Waiting Indicator -->
151 <LinearLayout style="@style/entry_layout">
152 <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" />
153 <TextView android:id="@+id/mwi" style="@style/info_value" />
154 </LinearLayout>
155
156 <!-- Call Forwarding Indicator -->
157 <LinearLayout style="@style/entry_layout">
158 <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" />
159 <TextView android:id="@+id/cfi" style="@style/info_value" />
160 </LinearLayout>
161
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800162 <!-- PPP Sent -->
163 <LinearLayout style="@style/entry_layout">
164 <TextView android:text="@string/radio_info_ppp_sent_label"
165 style="@style/info_label" />
166 <TextView android:id="@+id/sent" style="@style/info_value" />
167 </LinearLayout>
168
169 <!-- PPP Received -->
170 <LinearLayout style="@style/entry_layout">
171 <TextView android:text="@string/radio_info_ppp_received_label"
172 style="@style/info_label" />
173 <TextView android:id="@+id/received" style="@style/info_value" />
174 </LinearLayout>
175
176 <!-- PPP Sent since last received -->
177 <LinearLayout style="@style/entry_layout">
178 <TextView android:text="@string/radio_info_ppp_resets_label"
179 style="@style/info_label" />
180 <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" />
181 </LinearLayout>
182
Nathan Harold2b77d742016-03-19 13:22:10 -0700183 <!-- Radio Power -->
184 <Switch android:id="@+id/radio_power"
185 android:textSize="14sp"
186 android:layout_marginTop="8dip"
Romain Guy33787152010-01-08 15:07:10 -0800187 android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800188 android:layout_height="wrap_content"
Nathan Harold2b77d742016-03-19 13:22:10 -0700189 android:text="@string/radio_info_radio_power"/>
Wink Saville1e596f32011-09-19 14:24:39 -0700190
Pavel Zhamaitsiakcb267a62015-01-21 18:25:14 -0800191 <!-- VoLTE provisioned -->
Nathan Harold2b77d742016-03-19 13:22:10 -0700192 <Switch android:id="@+id/volte_provisioned_switch"
Pavel Zhamaitsiakcb267a62015-01-21 18:25:14 -0800193 android:textSize="14sp"
194 android:layout_marginTop="8dip"
Nathan Harold2b77d742016-03-19 13:22:10 -0700195 android:layout_width="match_parent"
Pavel Zhamaitsiakcb267a62015-01-21 18:25:14 -0800196 android:layout_height="wrap_content"
Nathan Harold2b77d742016-03-19 13:22:10 -0700197 android:text="@string/volte_provisioned_switch_string"/>
Wink Saville426fc662011-09-25 14:39:02 -0700198
Nathan Harold12e1f552016-06-17 13:55:38 -0700199 <!-- VT provisioned -->
200 <Switch android:id="@+id/vt_provisioned_switch"
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/vt_provisioned_switch_string"/>
206
207 <!-- Wifi Calling provisioned -->
208 <Switch android:id="@+id/wfc_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/wfc_provisioned_switch_string"/>
214
Meng Wang586741c2017-04-26 15:02:51 -0700215 <!-- EAB/Presence provisioned -->
216 <Switch android:id="@+id/eab_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/eab_provisioned_switch_string"/>
222
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800223 <!-- SMSC -->
Romain Guy33787152010-01-08 15:07:10 -0800224 <RelativeLayout android:layout_width="match_parent"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800225 android:layout_height="wrap_content">
226 <TextView android:id="@+id/smsc_label"
227 android:text="@string/radio_info_smsc_label"
228 android:layout_alignBaseline="@+id/update_smsc"
229 style="@style/info_label" />
230 <Button android:id="@+id/refresh_smsc"
231 android:textSize="14sp"
232 android:layout_marginTop="8dip"
233 android:layout_width="wrap_content"
234 android:layout_height="wrap_content"
235 android:text="@string/radio_info_smsc_refresh_label"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700236 android:layout_alignParentEnd="true"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800237 />
238 <Button android:id="@+id/update_smsc"
239 android:textSize="14sp"
240 android:layout_marginTop="8dip"
241 android:layout_width="wrap_content"
242 android:layout_height="wrap_content"
243 android:text="@string/radio_info_smsc_update_label"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700244 android:layout_toStartOf="@+id/refresh_smsc"
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800245 android:layout_alignBaseline="@+id/refresh_smsc"
246 />
247 <EditText android:id="@+id/smsc"
248 style="@style/form_value"
249 android:layout_alignBaseline="@+id/refresh_smsc"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700250 android:layout_toStartOf="@id/update_smsc"
251 android:layout_toEndOf="@id/smsc_label" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800252 </RelativeLayout>
253
254 <!-- Test setting to ignore bad DNS, useful in lab environments -->
255 <LinearLayout style="@style/entry_layout">
256 <Button android:id="@+id/dns_check_toggle"
257 android:textSize="14sp"
258 android:layout_marginTop="8dip"
259 android:layout_width="wrap_content"
260 android:layout_height="wrap_content"
261 android:text="@string/radio_info_toggle_dns_check_label"
262 />
263 <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
264 </LinearLayout>
265
Tammo Spalinka5f4c8f2009-10-15 20:08:58 +0800266 <!-- Launch OEM-specific Info/Settings Activity (if any) -->
267 <Button android:id="@+id/oem_info"
268 android:textSize="14sp"
269 android:layout_marginTop="8dip"
270 android:layout_width="wrap_content"
271 android:layout_height="wrap_content"
272 android:text="@string/oem_radio_info_label"
273 />
274
Nathan Harold2b77d742016-03-19 13:22:10 -0700275 <!-- Horizontal Rule -->
276 <View
277 android:layout_width="fill_parent"
278 android:layout_height="1dip"
279 android:background="#000000" />
280
281 <!-- CellInfoListRate Selection -->
282 <TextView
283 android:layout_width="match_parent"
284 android:layout_height="wrap_content"
285 android:text="@string/radio_info_cell_info_refresh_rate"
286 style="@style/info_label"
287 />
288
289 <Spinner android:id="@+id/cell_info_rate_select"
290 android:layout_width="match_parent"
291 android:layout_height="wrap_content"
292 />
293
294 <!-- Location -->
295 <LinearLayout style="@style/entry_layout">
296 <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
297 <TextView android:id="@+id/location" style="@style/info_value" />
298 </LinearLayout>
299
300 <!-- Neighboring Cids -->
301 <LinearLayout style="@style/entry_layout">
302 <TextView android:text="@string/radio_info_neighboring_location_label"
303 style="@style/info_label" />
304 <TextView android:id="@+id/neighboring" style="@style/info_value" />
305 </LinearLayout>
306
307 <!-- CellInfo -->
308 <LinearLayout style="@style/entry_layout">
309 <TextView android:text="@string/radio_info_cellinfo_label"
310 style="@style/info_label" />
311 </LinearLayout>
312 <LinearLayout style="@style/entry_layout">
313 <TextView android:id="@+id/cellinfo"
314 style="@style/info_value"
315 android:minHeight="300dip"
316 android:textSize="12sp" />
317 </LinearLayout>
318
Youhan Wangfd781e92016-12-16 15:53:16 -0800319 <!-- Carrier Provisioning -->
320 <LinearLayout style="@style/entry_layout">
321 <Button android:id="@+id/carrier_provisioning"
322 android:layout_marginTop="8dip"
323 android:layout_width="wrap_content"
324 android:layout_height="wrap_content"
325 android:text="@string/carrier_provisioning"
326 android:textSize="14sp"/>
327 <Button android:id="@+id/trigger_carrier_provisioning"
328 android:layout_marginTop="8dip"
329 android:layout_width="wrap_content"
330 android:layout_height="wrap_content"
331 android:text="@string/trigger_carrier_provisioning"
332 android:textSize="14sp"/>
333 </LinearLayout>
334
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800335 </LinearLayout>
336</ScrollView>