1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/Settings/assets/res/any/layout/radio_info.xml
5 ** Copyright 2006, The Android Open Source Project
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
24 <LinearLayout style="@style/info_layout"
25 android:descendantFocusability="beforeDescendants"
26 android:focusableInTouchMode="true">
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" />
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" />
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" />
46 <!-- 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" />
52 <!-- 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" />
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" />
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" />
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" />
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" />
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" />
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" />
94 <!-- Preferred Network Type -->
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"
102 <Spinner android:id="@+id/preferredNetworkType"
103 android:layout_width="match_parent"
104 android:layout_height="wrap_content"
107 <!-- Horizontal Rule -->
109 android:layout_width="fill_parent"
110 android:layout_height="1dip"
111 android:background="#000000" />
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"
122 <LinearLayout style="@style/entry_layout">
123 <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
124 <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" />
127 <LinearLayout style="@style/entry_layout">
128 <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" />
129 <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" />
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" />
137 <!-- Horizontal Rule -->
139 android:layout_width="fill_parent"
140 android:layout_height="1dip"
141 android:background="#000000" />
143 <!-- 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" />
150 <!-- 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" />
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" />
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" />
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" />
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" />
184 <Switch android:id="@+id/radio_power"
185 android:textSize="14sp"
186 android:layout_marginTop="8dip"
187 android:layout_width="match_parent"
188 android:layout_height="wrap_content"
189 android:text="@string/radio_info_radio_power"/>
191 <!-- VoLTE provisioned -->
192 <Switch android:id="@+id/volte_provisioned_switch"
193 android:textSize="14sp"
194 android:layout_marginTop="8dip"
195 android:layout_width="match_parent"
196 android:layout_height="wrap_content"
197 android:text="@string/volte_provisioned_switch_string"/>
199 <!-- 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"/>
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"/>
215 <!-- 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"/>
224 <RelativeLayout android:layout_width="match_parent"
225 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"
236 android:layout_alignParentEnd="true"
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"
244 android:layout_toStartOf="@+id/refresh_smsc"
245 android:layout_alignBaseline="@+id/refresh_smsc"
247 <EditText android:id="@+id/smsc"
248 style="@style/form_value"
249 android:layout_alignBaseline="@+id/refresh_smsc"
250 android:layout_toStartOf="@id/update_smsc"
251 android:layout_toEndOf="@id/smsc_label" />
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"
263 <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
266 <!-- 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"
275 <!-- Horizontal Rule -->
277 android:layout_width="fill_parent"
278 android:layout_height="1dip"
279 android:background="#000000" />
281 <!-- CellInfoListRate Selection -->
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"
289 <Spinner android:id="@+id/cell_info_rate_select"
290 android:layout_width="match_parent"
291 android:layout_height="wrap_content"
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" />
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" />
308 <LinearLayout style="@style/entry_layout">
309 <TextView android:text="@string/radio_info_cellinfo_label"
310 style="@style/info_label" />
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" />
319 <!-- 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"/>