• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
46    <!-- divider line -->
47    <View android:background="#FFFFFFFF"
48      android:layout_width="match_parent"
49      android:layout_height="3dip" />
50
51    <LinearLayout
52      android:orientation="horizontal"
53      android:paddingTop="4dip"
54      android:layout_width="match_parent"
55      android:layout_height="wrap_content">
56        <Button android:id="@+id/startDelayedCycle"
57          android:layout_width="wrap_content"
58          android:layout_height="wrap_content"
59          android:text="@string/start_toggling" />
60        <Button android:id="@+id/stopDelayedCycle"
61          android:layout_width="wrap_content"
62          android:layout_height="wrap_content"
63          android:text="@string/stop_toggling" />
64    </LinearLayout>
65
66    <LinearLayout
67      android:orientation="horizontal"
68      android:layout_width="match_parent"
69      android:layout_height="wrap_content">
70        <TextView
71          android:layout_width="wrap_content"
72          android:layout_height="wrap_content"
73          android:text="@string/wifi_on_duration" />
74        <EditText android:id="@+id/dc_wifi_on_duration"
75          android:layout_width="wrap_content"
76          android:layout_height="wrap_content"
77          android:minEms="15" />
78    </LinearLayout>
79
80    <LinearLayout
81      android:orientation="horizontal"
82      android:layout_width="match_parent"
83      android:layout_height="wrap_content">
84        <TextView
85          android:layout_width="wrap_content"
86          android:layout_height="wrap_content"
87          android:text="@string/wifi_off_duration" />
88        <EditText android:id="@+id/dc_wifi_off_duration"
89          android:layout_width="wrap_content"
90          android:layout_height="wrap_content"
91          android:minEms="15"/>
92    </LinearLayout>
93
94    <LinearLayout
95      android:orientation="horizontal"
96      android:layout_width="match_parent"
97      android:layout_height="wrap_content">
98        <TextView
99          android:layout_width="wrap_content"
100          android:layout_height="wrap_content"
101          android:text="@string/wifi_cycles_done" />
102        <TextView android:id="@+id/dc_wifi_cycles_done"
103          android:layout_width="wrap_content"
104          android:layout_height="wrap_content"
105          android:minEms="15"/>
106    </LinearLayout>
107
108    <!-- divider line -->
109    <View android:background="#FFFFFFFF"
110      android:layout_width="match_parent"
111      android:layout_height="3dip" />
112
113    <LinearLayout
114      android:orientation="horizontal"
115      android:paddingTop="4dip"
116      android:layout_width="match_parent"
117      android:layout_height="wrap_content">
118        <Button android:id="@+id/startScreenCycle"
119          android:layout_width="wrap_content"
120          android:layout_height="wrap_content"
121          android:text="@string/start_screen_toggling" />
122        <Button android:id="@+id/stopScreenCycle"
123          android:layout_width="wrap_content"
124          android:layout_height="wrap_content"
125          android:text="@string/stop_screen_toggling" />
126    </LinearLayout>
127
128    <LinearLayout
129      android:orientation="horizontal"
130      android:layout_width="match_parent"
131      android:layout_height="wrap_content">
132        <TextView
133          android:layout_width="wrap_content"
134          android:layout_height="wrap_content"
135          android:text="@string/wifi_on_duration" />
136        <EditText android:id="@+id/sc_wifi_on_duration"
137          android:layout_width="wrap_content"
138          android:layout_height="wrap_content"
139          android:minEms="15" />
140    </LinearLayout>
141
142    <LinearLayout
143      android:orientation="horizontal"
144      android:layout_width="match_parent"
145      android:layout_height="wrap_content">
146        <TextView
147          android:layout_width="wrap_content"
148          android:layout_height="wrap_content"
149          android:text="@string/wifi_off_duration" />
150        <EditText android:id="@+id/sc_wifi_off_duration"
151          android:layout_width="wrap_content"
152          android:layout_height="wrap_content"
153          android:minEms="15"/>
154    </LinearLayout>
155
156    <LinearLayout
157      android:orientation="horizontal"
158      android:layout_width="match_parent"
159      android:layout_height="wrap_content">
160        <TextView
161          android:layout_width="wrap_content"
162          android:layout_height="wrap_content"
163          android:text="@string/wifi_cycles_done" />
164        <TextView android:id="@+id/sc_wifi_cycles_done"
165          android:layout_width="wrap_content"
166          android:layout_height="wrap_content"
167          android:minEms="15"/>
168    </LinearLayout>
169
170    <!-- divider line -->
171    <View android:background="#FFFFFFFF"
172      android:layout_width="match_parent"
173      android:layout_height="3dip" />
174
175    <LinearLayout
176      android:orientation="horizontal"
177      android:paddingTop="4dip"
178      android:layout_width="match_parent"
179      android:layout_height="wrap_content">
180        <Button android:id="@+id/startScan"
181          android:layout_width="wrap_content"
182          android:layout_height="wrap_content"
183          android:text="@string/start_scan" />
184        <CheckBox android:id="@+id/scanDisconnect"
185          android:layout_width="wrap_content"
186          android:layout_height="wrap_content"
187          android:text="@string/disconnect" />
188    </LinearLayout>
189
190    <LinearLayout
191      android:orientation="horizontal"
192      android:layout_width="match_parent"
193      android:layout_height="wrap_content">
194        <TextView
195          android:layout_width="wrap_content"
196          android:layout_height="wrap_content"
197          android:inputType="number"
198          android:text="@string/scan_cycles" />
199        <EditText android:id="@+id/sc_scan_cycles"
200          android:layout_width="wrap_content"
201          android:layout_height="wrap_content"
202          android:minEms="5" />
203        <TextView android:id="@+id/sc_scan_results"
204          android:layout_width="wrap_content"
205          android:layout_height="wrap_content"
206          android:layout_marginLeft="14.5sp" />
207    </LinearLayout>
208
209    <!-- divider line -->
210    <View android:background="#FFFFFFFF"
211      android:layout_width="match_parent"
212      android:layout_height="3dip" />
213
214    <LinearLayout
215      android:orientation="horizontal"
216      android:paddingTop="4dip"
217      android:layout_width="match_parent"
218      android:layout_height="wrap_content">
219        <Button android:id="@+id/start_mms"
220          android:layout_width="wrap_content"
221          android:layout_height="wrap_content"
222          android:text="@string/start_mms" />
223        <Button android:id="@+id/stop_mms"
224          android:layout_width="wrap_content"
225          android:layout_height="wrap_content"
226          android:text="@string/stop_mms" />
227    </LinearLayout>
228    <LinearLayout
229      android:orientation="horizontal"
230      android:layout_width="match_parent"
231      android:layout_height="wrap_content">
232        <Button android:id="@+id/start_hipri"
233          android:layout_width="wrap_content"
234          android:layout_height="wrap_content"
235          android:text="@string/start_hipri" />
236        <Button android:id="@+id/stop_hipri"
237          android:layout_width="wrap_content"
238          android:layout_height="wrap_content"
239          android:text="@string/stop_hipri" />
240    </LinearLayout>
241    <LinearLayout
242      android:orientation="horizontal"
243      android:layout_width="match_parent"
244      android:layout_height="wrap_content">
245        <Button android:id="@+id/crash"
246          android:layout_width="wrap_content"
247          android:layout_height="wrap_content"
248          android:text="@string/crash" />
249    </LinearLayout>
250
251    <LinearLayout
252      android:orientation="horizontal"
253      android:layout_width="match_parent"
254      android:layout_height="wrap_content">
255        <Button android:id="@+id/add_default_route"
256          android:layout_width="wrap_content"
257          android:layout_height="wrap_content"
258          android:text="@string/add_default_route" />
259        <Button android:id="@+id/remove_default_route"
260          android:layout_width="wrap_content"
261          android:layout_height="wrap_content"
262          android:text="@string/remove_default_route" />
263    </LinearLayout>
264    <LinearLayout
265      android:orientation="horizontal"
266      android:layout_width="match_parent"
267      android:layout_height="wrap_content">
268        <Button android:id="@+id/default_request"
269          android:layout_width="wrap_content"
270          android:layout_height="wrap_content"
271          android:text="@string/default_request" />
272        <Button android:id="@+id/default_socket"
273          android:layout_width="wrap_content"
274          android:layout_height="wrap_content"
275          android:text="@string/default_socket" />
276    </LinearLayout>
277    <LinearLayout
278      android:orientation="horizontal"
279      android:layout_width="match_parent"
280      android:layout_height="wrap_content">
281        <Button android:id="@+id/bound_http_request"
282          android:layout_width="wrap_content"
283          android:layout_height="wrap_content"
284          android:text="@string/bound_http_request" />
285        <Button android:id="@+id/bound_socket_request"
286          android:layout_width="wrap_content"
287          android:layout_height="wrap_content"
288          android:text="@string/bound_socket_request" />
289    </LinearLayout>
290    <LinearLayout
291      android:orientation="horizontal"
292      android:layout_width="match_parent"
293      android:layout_height="wrap_content">
294        <Button android:id="@+id/routed_http_request"
295          android:layout_width="wrap_content"
296          android:layout_height="wrap_content"
297          android:text="@string/routed_http_request" />
298        <Button android:id="@+id/routed_socket_request"
299          android:layout_width="wrap_content"
300          android:layout_height="wrap_content"
301          android:text="@string/routed_socket_request" />
302    </LinearLayout>
303  </LinearLayout>
304</ScrollView>
305
306