1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Settings/assets/res/any/layout/keyboard_version.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:id="@+id/connectivity_layout"
22    android:descendantFocusability="beforeDescendants"
23    android:focusableInTouchMode="true"
24    android:focusable="true"
25    android:layout_width="match_parent"
26    android:layout_height="match_parent">
27
28  <LinearLayout
29    android:orientation="vertical"
30    android:layout_width="match_parent"
31    android:layout_height="wrap_content">
32    <LinearLayout
33      android:orientation="horizontal"
34      android:layout_width="match_parent"
35      android:layout_height="wrap_content">
36        <Button android:id="@+id/enableWifi"
37          android:layout_width="wrap_content"
38          android:layout_height="wrap_content"
39          android:text="@string/enable_wifi" />
40        <Button android:id="@+id/disableWifi"
41          android:layout_width="wrap_content"
42          android:layout_height="wrap_content"
43          android:text="@string/disable_wifi" />
44    </LinearLayout>
45    <LinearLayout
46      android:orientation="horizontal"
47      android:layout_width="match_parent"
48      android:layout_height="wrap_content">
49        <Button android:id="@+id/acquireWifiMulticastLock"
50          android:layout_width="wrap_content"
51          android:layout_height="wrap_content"
52          android:text="@string/acquire_wifi_multicast_lock" />
53        <Button android:id="@+id/releaseWifiMulticastLock"
54          android:layout_width="wrap_content"
55          android:layout_height="wrap_content"
56          android:text="@string/release_wifi_multicast_lock" />
57    </LinearLayout>
58
59    <!-- divider line -->
60    <View android:background="#FFFFFFFF"
61      android:layout_width="match_parent"
62      android:layout_height="3dip" />
63
64    <LinearLayout
65      android:orientation="horizontal"
66      android:paddingTop="4dip"
67      android:layout_width="match_parent"
68      android:layout_height="wrap_content">
69        <Button android:id="@+id/startDelayedCycle"
70          android:layout_width="wrap_content"
71          android:layout_height="wrap_content"
72          android:text="@string/start_toggling" />
73        <Button android:id="@+id/stopDelayedCycle"
74          android:layout_width="wrap_content"
75          android:layout_height="wrap_content"
76          android:text="@string/stop_toggling" />
77    </LinearLayout>
78
79    <LinearLayout
80      android:orientation="horizontal"
81      android:layout_width="match_parent"
82      android:layout_height="wrap_content">
83        <TextView
84          android:layout_width="wrap_content"
85          android:layout_height="wrap_content"
86          android:text="@string/wifi_on_duration" />
87        <EditText android:id="@+id/dc_wifi_on_duration"
88          android:layout_width="wrap_content"
89          android:layout_height="wrap_content"
90          android:minEms="15" />
91    </LinearLayout>
92
93    <LinearLayout
94      android:orientation="horizontal"
95      android:layout_width="match_parent"
96      android:layout_height="wrap_content">
97        <TextView
98          android:layout_width="wrap_content"
99          android:layout_height="wrap_content"
100          android:text="@string/wifi_off_duration" />
101        <EditText android:id="@+id/dc_wifi_off_duration"
102          android:layout_width="wrap_content"
103          android:layout_height="wrap_content"
104          android:minEms="15"/>
105    </LinearLayout>
106
107    <LinearLayout
108      android:orientation="horizontal"
109      android:layout_width="match_parent"
110      android:layout_height="wrap_content">
111        <TextView
112          android:layout_width="wrap_content"
113          android:layout_height="wrap_content"
114          android:text="@string/wifi_cycles_done" />
115        <TextView android:id="@+id/dc_wifi_cycles_done"
116          android:layout_width="wrap_content"
117          android:layout_height="wrap_content"
118          android:minEms="15"/>
119    </LinearLayout>
120
121    <!-- divider line -->
122    <View android:background="#FFFFFFFF"
123      android:layout_width="match_parent"
124      android:layout_height="3dip" />
125
126    <LinearLayout
127      android:orientation="horizontal"
128      android:paddingTop="4dip"
129      android:layout_width="match_parent"
130      android:layout_height="wrap_content">
131        <Button android:id="@+id/startScreenCycle"
132          android:layout_width="wrap_content"
133          android:layout_height="wrap_content"
134          android:text="@string/start_screen_toggling" />
135        <Button android:id="@+id/stopScreenCycle"
136          android:layout_width="wrap_content"
137          android:layout_height="wrap_content"
138          android:text="@string/stop_screen_toggling" />
139    </LinearLayout>
140
141    <LinearLayout
142      android:orientation="horizontal"
143      android:layout_width="match_parent"
144      android:layout_height="wrap_content">
145        <TextView
146          android:layout_width="wrap_content"
147          android:layout_height="wrap_content"
148          android:text="@string/wifi_on_duration" />
149        <EditText android:id="@+id/sc_wifi_on_duration"
150          android:layout_width="wrap_content"
151          android:layout_height="wrap_content"
152          android:minEms="15" />
153    </LinearLayout>
154
155    <LinearLayout
156      android:orientation="horizontal"
157      android:layout_width="match_parent"
158      android:layout_height="wrap_content">
159        <TextView
160          android:layout_width="wrap_content"
161          android:layout_height="wrap_content"
162          android:text="@string/wifi_off_duration" />
163        <EditText android:id="@+id/sc_wifi_off_duration"
164          android:layout_width="wrap_content"
165          android:layout_height="wrap_content"
166          android:minEms="15"/>
167    </LinearLayout>
168
169    <LinearLayout
170      android:orientation="horizontal"
171      android:layout_width="match_parent"
172      android:layout_height="wrap_content">
173        <TextView
174          android:layout_width="wrap_content"
175          android:layout_height="wrap_content"
176          android:text="@string/wifi_cycles_done" />
177        <TextView android:id="@+id/sc_wifi_cycles_done"
178          android:layout_width="wrap_content"
179          android:layout_height="wrap_content"
180          android:minEms="15"/>
181    </LinearLayout>
182
183    <!-- divider line -->
184    <View android:background="#FFFFFFFF"
185      android:layout_width="match_parent"
186      android:layout_height="3dip" />
187
188    <LinearLayout
189      android:orientation="horizontal"
190      android:paddingTop="4dip"
191      android:layout_width="match_parent"
192      android:layout_height="wrap_content">
193        <Button android:id="@+id/startScan"
194          android:layout_width="wrap_content"
195          android:layout_height="wrap_content"
196          android:text="@string/start_scan" />
197        <CheckBox android:id="@+id/scanDisconnect"
198          android:layout_width="wrap_content"
199          android:layout_height="wrap_content"
200          android:text="@string/disconnect" />
201    </LinearLayout>
202
203    <LinearLayout
204      android:orientation="horizontal"
205      android:layout_width="match_parent"
206      android:layout_height="wrap_content">
207        <TextView
208          android:layout_width="wrap_content"
209          android:layout_height="wrap_content"
210          android:inputType="number"
211          android:text="@string/scan_cycles" />
212        <EditText android:id="@+id/sc_scan_cycles"
213          android:layout_width="wrap_content"
214          android:layout_height="wrap_content"
215          android:minEms="5" />
216        <TextView android:id="@+id/sc_scan_results"
217          android:layout_width="wrap_content"
218          android:layout_height="wrap_content"
219          android:layout_marginLeft="14.5sp" />
220    </LinearLayout>
221
222    <!-- divider line -->
223    <View android:background="#FFFFFFFF"
224      android:layout_width="match_parent"
225      android:layout_height="3dip" />
226
227    <LinearLayout
228      android:orientation="horizontal"
229      android:layout_width="match_parent"
230      android:layout_height="wrap_content">
231        <Button android:id="@+id/startTdls"
232          android:layout_width="wrap_content"
233          android:layout_height="wrap_content"
234          android:text="@string/start_tdls" />
235        <Button android:id="@+id/stopTdls"
236          android:layout_width="wrap_content"
237          android:layout_height="wrap_content"
238          android:text="@string/stop_tdls" />
239    </LinearLayout>
240    <LinearLayout
241      android:orientation="horizontal"
242      android:layout_width="match_parent"
243      android:layout_height="wrap_content">
244        <TextView
245          android:layout_width="wrap_content"
246          android:layout_height="wrap_content"
247          android:text="@string/mac_tdls" />
248        <EditText android:id="@+id/sc_ip_mac"
249          android:layout_width="wrap_content"
250          android:layout_height="wrap_content"
251          android:minEms="10" />
252    </LinearLayout>
253
254    <!-- divider line -->
255    <View android:background="#FFFFFFFF"
256      android:layout_width="match_parent"
257      android:layout_height="3dip" />
258
259    <LinearLayout
260      android:orientation="horizontal"
261      android:paddingTop="4dip"
262      android:layout_width="match_parent"
263      android:layout_height="wrap_content">
264        <Button android:id="@+id/request_mms"
265          android:layout_width="wrap_content"
266          android:layout_height="wrap_content"
267          android:text="@string/request_mms" />
268        <Button android:id="@+id/release_mms"
269          android:layout_width="wrap_content"
270          android:layout_height="wrap_content"
271          android:text="@string/release_mms" />
272        <ProgressBar android:id="@+id/mms_progress"
273          android:layout_width="wrap_content"
274          android:layout_height="wrap_content" />
275    </LinearLayout>
276    <LinearLayout
277      android:orientation="horizontal"
278      android:layout_width="match_parent"
279      android:layout_height="wrap_content">
280        <Button android:id="@+id/request_supl"
281          android:layout_width="wrap_content"
282          android:layout_height="wrap_content"
283          android:text="@string/request_supl" />
284        <Button android:id="@+id/release_supl"
285          android:layout_width="wrap_content"
286          android:layout_height="wrap_content"
287          android:text="@string/release_supl" />
288        <ProgressBar android:id="@+id/supl_progress"
289          android:layout_width="wrap_content"
290          android:layout_height="wrap_content" />
291    </LinearLayout>
292    <LinearLayout
293      android:orientation="horizontal"
294      android:layout_width="match_parent"
295      android:layout_height="wrap_content">
296        <Button android:id="@+id/request_cell"
297          android:layout_width="wrap_content"
298          android:layout_height="wrap_content"
299          android:text="@string/request_cell" />
300        <Button android:id="@+id/release_cell"
301          android:layout_width="wrap_content"
302          android:layout_height="wrap_content"
303          android:text="@string/release_cell" />
304        <ProgressBar android:id="@+id/cell_progress"
305          android:layout_width="wrap_content"
306          android:layout_height="wrap_content" />
307    </LinearLayout>
308    <LinearLayout
309      android:orientation="horizontal"
310      android:layout_width="match_parent"
311      android:layout_height="wrap_content">
312        <Button android:id="@+id/request_wifi"
313          android:layout_width="wrap_content"
314          android:layout_height="wrap_content"
315          android:text="@string/request_wifi" />
316        <Button android:id="@+id/release_wifi"
317          android:layout_width="wrap_content"
318          android:layout_height="wrap_content"
319          android:text="@string/release_wifi" />
320        <ProgressBar android:id="@+id/wifi_progress"
321          android:layout_width="wrap_content"
322          android:layout_height="wrap_content" />
323    </LinearLayout>
324    <LinearLayout
325      android:orientation="horizontal"
326      android:paddingBottom="4dip"
327      android:layout_width="match_parent"
328      android:layout_height="wrap_content">
329        <Button android:id="@+id/report_all_bad"
330          android:layout_width="wrap_content"
331          android:layout_height="wrap_content"
332          android:text="@string/report_all_bad" />
333    </LinearLayout>
334
335    <!-- divider line -->
336    <View android:background="#FFFFFFFF"
337      android:layout_width="match_parent"
338      android:layout_height="3dip" />
339
340    <LinearLayout
341      android:orientation="horizontal"
342      android:layout_width="match_parent"
343      android:layout_height="wrap_content">
344        <Button android:id="@+id/default_request"
345          android:layout_width="wrap_content"
346          android:layout_height="wrap_content"
347          android:text="@string/default_request" />
348    </LinearLayout>
349    <LinearLayout
350      android:orientation="horizontal"
351      android:layout_width="match_parent"
352      android:layout_height="wrap_content">
353        <Button android:id="@+id/bound_http_request"
354          android:layout_width="wrap_content"
355          android:layout_height="wrap_content"
356          android:text="@string/bound_http_request" />
357        <Button android:id="@+id/bound_socket_request"
358          android:layout_width="wrap_content"
359          android:layout_height="wrap_content"
360          android:text="@string/bound_socket_request" />
361    </LinearLayout>
362
363    <LinearLayout
364        android:orientation="horizontal"
365        android:layout_width="match_parent"
366        android:layout_height="wrap_content">
367        <TextView
368            android:id="@+id/http_response"
369            android:layout_width="wrap_content"
370            android:layout_height="wrap_content" />
371    </LinearLayout>
372
373    <!-- divider line -->
374    <View android:background="#FFFFFFFF"
375      android:layout_width="match_parent"
376      android:layout_height="3dip" />
377
378    <!-- divider line -->
379    <View android:background="#FFFFFFFF"
380        android:layout_width="match_parent"
381        android:layout_height="3dip" />
382    <LinearLayout
383        android:orientation="horizontal"
384        android:paddingTop="4dip"
385        android:layout_width="match_parent"
386        android:layout_height="wrap_content">
387        <Button android:id="@+id/link_stats"
388            android:layout_width="wrap_content"
389            android:layout_height="wrap_content"
390            android:text="@string/link_stats" />
391    </LinearLayout>
392
393    <LinearLayout
394        android:orientation="horizontal"
395        android:layout_width="match_parent"
396        android:layout_height="wrap_content">
397        <TextView
398            android:id="@+id/stats"
399            android:layout_width="wrap_content"
400            android:layout_height="wrap_content"
401            android:text="@string/stats_results" />
402    </LinearLayout>
403
404  </LinearLayout>
405</ScrollView>
406
407