• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <!-- 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
40        <!-- 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
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" />
50        </LinearLayout>
51
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" />
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        <!-- Link Bandwidth -->
95        <LinearLayout style="@style/entry_layout" android:orientation="horizontal">
96            <TextView android:text="@string/radio_info_dl_kbps" style="@style/info_label" />
97            <TextView android:id="@+id/dl_kbps" style="@style/info_value" />
98        </LinearLayout>
99
100        <!-- Link Bandwidth -->
101        <LinearLayout style="@style/entry_layout" android:orientation="horizontal">
102            <TextView android:text="@string/radio_info_ul_kbps" style="@style/info_label" />
103            <TextView android:id="@+id/ul_kbps" style="@style/info_value" />
104        </LinearLayout>
105
106        <!-- Physical Channel Config -->
107        <LinearLayout style="@style/entry_layout">
108            <TextView android:text="@string/radio_info_phy_chan_config" style="@style/info_label" />
109            <TextView android:id="@+id/phy_chan_config" style="@style/info_value" />
110        </LinearLayout>
111
112        <!-- Horizontal Rule -->
113        <View
114            android:layout_width="fill_parent"
115            android:layout_height="1dip"
116            android:background="#000000" />
117
118        <!-- Preferred Network Type -->
119        <TextView
120                android:layout_width="match_parent"
121                android:layout_height="wrap_content"
122                android:text="@string/radio_info_set_perferred_label"
123                style="@style/info_label"
124                />
125
126        <Spinner android:id="@+id/preferredNetworkType"
127                 android:layout_width="match_parent"
128                 android:layout_height="wrap_content"
129                />
130
131        <!-- Horizontal Rule -->
132        <View
133            android:layout_width="fill_parent"
134            android:layout_height="1dip"
135            android:background="#000000" />
136
137        <!-- Ping stats -->
138        <Button android:id="@+id/ping_test"
139                android:textSize="14sp"
140                android:layout_marginTop="8dip"
141                android:layout_width="wrap_content"
142                android:layout_height="wrap_content"
143                android:text="@string/ping_test_label"
144                />
145
146        <LinearLayout style="@style/entry_layout">
147            <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
148            <TextView android:id="@+id/pingHostnameV4" style="@style/info_value" />
149        </LinearLayout>
150
151        <LinearLayout style="@style/entry_layout">
152            <TextView android:text="@string/radio_info_ping_hostname_v6" style="@style/info_label" />
153            <TextView android:id="@+id/pingHostnameV6" style="@style/info_value" />
154        </LinearLayout>
155
156        <LinearLayout style="@style/entry_layout">
157            <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
158            <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
159        </LinearLayout>
160
161        <!-- Horizontal Rule -->
162        <View
163            android:layout_width="fill_parent"
164            android:layout_height="1dip"
165            android:background="#000000" />
166
167        <!-- DcRtInfo - DataConnectionRealTimeInfo -->
168        <LinearLayout style="@style/entry_layout">
169            <TextView android:text="@string/radio_info_dcrtinfo_label"
170                      style="@style/info_label" />
171            <TextView android:id="@+id/dcrtinfo" style="@style/info_value" />
172        </LinearLayout>
173
174        <!-- Message Waiting Indicator -->
175        <LinearLayout style="@style/entry_layout">
176            <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" />
177            <TextView android:id="@+id/mwi" style="@style/info_value" />
178        </LinearLayout>
179
180        <!-- Call Forwarding Indicator -->
181        <LinearLayout style="@style/entry_layout">
182            <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" />
183            <TextView android:id="@+id/cfi" style="@style/info_value" />
184        </LinearLayout>
185
186        <!-- PPP Sent -->
187        <LinearLayout style="@style/entry_layout">
188            <TextView android:text="@string/radio_info_ppp_sent_label"
189                style="@style/info_label" />
190            <TextView android:id="@+id/sent" style="@style/info_value" />
191        </LinearLayout>
192
193        <!-- PPP Received -->
194        <LinearLayout style="@style/entry_layout">
195            <TextView android:text="@string/radio_info_ppp_received_label"
196                style="@style/info_label" />
197            <TextView android:id="@+id/received" style="@style/info_value" />
198        </LinearLayout>
199
200        <!-- PPP Sent since last received -->
201        <LinearLayout style="@style/entry_layout">
202            <TextView android:text="@string/radio_info_ppp_resets_label"
203                style="@style/info_label" />
204            <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" />
205        </LinearLayout>
206
207        <!-- Radio Power -->
208        <Switch android:id="@+id/radio_power"
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/radio_info_radio_power"/>
214
215        <!-- VoLTE provisioned -->
216        <Switch android:id="@+id/volte_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/volte_provisioned_switch_string"/>
222
223        <!-- VT provisioned -->
224        <Switch android:id="@+id/vt_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/vt_provisioned_switch_string"/>
230
231        <!-- Wifi Calling provisioned -->
232        <Switch android:id="@+id/wfc_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/wfc_provisioned_switch_string"/>
238
239        <!-- EAB/Presence provisioned -->
240        <Switch android:id="@+id/eab_provisioned_switch"
241                android:textSize="14sp"
242                android:layout_marginTop="8dip"
243                android:layout_width="match_parent"
244                android:layout_height="wrap_content"
245                android:text="@string/eab_provisioned_switch_string"/>
246
247        <!-- SMSC -->
248        <RelativeLayout android:layout_width="match_parent"
249                        android:layout_height="wrap_content">
250            <TextView android:id="@+id/smsc_label"
251                      android:text="@string/radio_info_smsc_label"
252                      android:layout_alignBaseline="@+id/update_smsc"
253                      style="@style/info_label" />
254            <Button android:id="@+id/refresh_smsc"
255                    android:textSize="14sp"
256                    android:layout_marginTop="8dip"
257                    android:layout_width="wrap_content"
258                    android:layout_height="wrap_content"
259                    android:text="@string/radio_info_smsc_refresh_label"
260                    android:layout_alignParentEnd="true"
261                    />
262            <Button android:id="@+id/update_smsc"
263                    android:textSize="14sp"
264                    android:layout_marginTop="8dip"
265                    android:layout_width="wrap_content"
266                    android:layout_height="wrap_content"
267                    android:text="@string/radio_info_smsc_update_label"
268                    android:layout_toStartOf="@+id/refresh_smsc"
269                    android:layout_alignBaseline="@+id/refresh_smsc"
270                    />
271            <EditText android:id="@+id/smsc"
272                      style="@style/form_value"
273                      android:layout_alignBaseline="@+id/refresh_smsc"
274                      android:layout_toStartOf="@id/update_smsc"
275                      android:layout_toEndOf="@id/smsc_label" />
276        </RelativeLayout>
277
278        <!-- Test setting to ignore bad DNS, useful in lab environments -->
279        <LinearLayout style="@style/entry_layout">
280            <Button android:id="@+id/dns_check_toggle"
281                    android:textSize="14sp"
282                    android:layout_marginTop="8dip"
283                    android:layout_width="wrap_content"
284                    android:layout_height="wrap_content"
285                    android:text="@string/radio_info_toggle_dns_check_label"
286                    />
287            <TextView android:id="@+id/dnsCheckState" style="@style/info_value" />
288        </LinearLayout>
289
290        <!-- Launch OEM-specific Info/Settings Activity (if any) -->
291        <Button android:id="@+id/oem_info"
292                android:textSize="14sp"
293                android:layout_marginTop="8dip"
294                android:layout_width="wrap_content"
295                android:layout_height="wrap_content"
296                android:text="@string/oem_radio_info_label"
297                />
298
299        <!-- Horizontal Rule -->
300        <View
301            android:layout_width="fill_parent"
302            android:layout_height="1dip"
303            android:background="#000000" />
304
305        <!-- CellInfoListRate Selection -->
306        <TextView
307                android:layout_width="match_parent"
308                android:layout_height="wrap_content"
309                android:text="@string/radio_info_cell_info_refresh_rate"
310                style="@style/info_label"
311                />
312
313        <Spinner android:id="@+id/cell_info_rate_select"
314                 android:layout_width="match_parent"
315                 android:layout_height="wrap_content"
316                />
317
318        <!-- Location -->
319        <LinearLayout style="@style/entry_layout">
320            <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" />
321            <TextView android:id="@+id/location" style="@style/info_value" />
322        </LinearLayout>
323
324        <!-- Neighboring Cids -->
325        <LinearLayout style="@style/entry_layout">
326            <TextView android:text="@string/radio_info_neighboring_location_label"
327                      style="@style/info_label" />
328            <TextView android:id="@+id/neighboring" style="@style/info_value" />
329        </LinearLayout>
330
331        <!-- CellInfo -->
332        <LinearLayout style="@style/entry_layout">
333            <TextView android:text="@string/radio_info_cellinfo_label"
334                      style="@style/info_label" />
335        </LinearLayout>
336        <LinearLayout style="@style/entry_layout">
337            <TextView android:id="@+id/cellinfo"
338                      style="@style/info_value"
339                      android:minHeight="300dip"
340                      android:textSize="12sp" />
341        </LinearLayout>
342
343        <!-- Carrier Provisioning -->
344        <LinearLayout style="@style/entry_layout">
345            <Button android:id="@+id/carrier_provisioning"
346                    android:layout_marginTop="8dip"
347                    android:layout_width="wrap_content"
348                    android:layout_height="wrap_content"
349                    android:text="@string/carrier_provisioning"
350                    android:textSize="14sp"/>
351            <Button android:id="@+id/trigger_carrier_provisioning"
352                    android:layout_marginTop="8dip"
353                    android:layout_width="wrap_content"
354                    android:layout_height="wrap_content"
355                    android:text="@string/trigger_carrier_provisioning"
356                    android:textSize="14sp"/>
357        </LinearLayout>
358
359    </LinearLayout>
360</ScrollView>
361