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:layout_width="match_parent" 217 android:layout_height="wrap_content"> 218 <Button android:id="@+id/startTdls" 219 android:layout_width="wrap_content" 220 android:layout_height="wrap_content" 221 android:text="@string/start_tdls" /> 222 <TextView 223 android:layout_width="wrap_content" 224 android:layout_height="wrap_content" 225 android:text="@string/mac_tdls" /> 226 <EditText android:id="@+id/sc_ip_mac" 227 android:layout_width="wrap_content" 228 android:layout_height="wrap_content" 229 android:minEms="10" /> 230 <Button android:id="@+id/stopTdls" 231 android:layout_width="wrap_content" 232 android:layout_height="wrap_content" 233 android:text="@string/stop_tdls" /> 234 </LinearLayout> 235 236 <!-- divider line --> 237 <View android:background="#FFFFFFFF" 238 android:layout_width="match_parent" 239 android:layout_height="3dip" /> 240 241 <LinearLayout 242 android:orientation="horizontal" 243 android:paddingTop="4dip" 244 android:layout_width="match_parent" 245 android:layout_height="wrap_content"> 246 <Button android:id="@+id/start_mms" 247 android:layout_width="wrap_content" 248 android:layout_height="wrap_content" 249 android:text="@string/start_mms" /> 250 <Button android:id="@+id/stop_mms" 251 android:layout_width="wrap_content" 252 android:layout_height="wrap_content" 253 android:text="@string/stop_mms" /> 254 </LinearLayout> 255 <LinearLayout 256 android:orientation="horizontal" 257 android:layout_width="match_parent" 258 android:layout_height="wrap_content"> 259 <Button android:id="@+id/start_hipri" 260 android:layout_width="wrap_content" 261 android:layout_height="wrap_content" 262 android:text="@string/start_hipri" /> 263 <Button android:id="@+id/stop_hipri" 264 android:layout_width="wrap_content" 265 android:layout_height="wrap_content" 266 android:text="@string/stop_hipri" /> 267 </LinearLayout> 268 <LinearLayout 269 android:orientation="horizontal" 270 android:layout_width="match_parent" 271 android:layout_height="wrap_content"> 272 <Button android:id="@+id/crash" 273 android:layout_width="wrap_content" 274 android:layout_height="wrap_content" 275 android:text="@string/crash" /> 276 </LinearLayout> 277 278 <LinearLayout 279 android:orientation="horizontal" 280 android:layout_width="match_parent" 281 android:layout_height="wrap_content"> 282 <Button android:id="@+id/add_default_route" 283 android:layout_width="wrap_content" 284 android:layout_height="wrap_content" 285 android:text="@string/add_default_route" /> 286 <Button android:id="@+id/remove_default_route" 287 android:layout_width="wrap_content" 288 android:layout_height="wrap_content" 289 android:text="@string/remove_default_route" /> 290 </LinearLayout> 291 <LinearLayout 292 android:orientation="horizontal" 293 android:layout_width="match_parent" 294 android:layout_height="wrap_content"> 295 <Button android:id="@+id/default_request" 296 android:layout_width="wrap_content" 297 android:layout_height="wrap_content" 298 android:text="@string/default_request" /> 299 <Button android:id="@+id/default_socket" 300 android:layout_width="wrap_content" 301 android:layout_height="wrap_content" 302 android:text="@string/default_socket" /> 303 </LinearLayout> 304 <LinearLayout 305 android:orientation="horizontal" 306 android:layout_width="match_parent" 307 android:layout_height="wrap_content"> 308 <Button android:id="@+id/bound_http_request" 309 android:layout_width="wrap_content" 310 android:layout_height="wrap_content" 311 android:text="@string/bound_http_request" /> 312 <Button android:id="@+id/bound_socket_request" 313 android:layout_width="wrap_content" 314 android:layout_height="wrap_content" 315 android:text="@string/bound_socket_request" /> 316 </LinearLayout> 317 <LinearLayout 318 android:orientation="horizontal" 319 android:layout_width="match_parent" 320 android:layout_height="wrap_content"> 321 <Button android:id="@+id/routed_http_request" 322 android:layout_width="wrap_content" 323 android:layout_height="wrap_content" 324 android:text="@string/routed_http_request" /> 325 <Button android:id="@+id/routed_socket_request" 326 android:layout_width="wrap_content" 327 android:layout_height="wrap_content" 328 android:text="@string/routed_socket_request" /> 329 </LinearLayout> 330 </LinearLayout> 331 </ScrollView> 332 333