| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| /* //device/apps/Settings/assets/res/any/layout/keyboard_version.xml | |
| ** | |
| ** Copyright 2006, The Android Open Source Project | |
| ** | |
| ** Licensed under the Apache License, Version 2.0 (the "License"); | |
| ** you may not use this file except in compliance with the License. | |
| ** You may obtain a copy of the License at | |
| ** | |
| ** http://www.apache.org/licenses/LICENSE-2.0 | |
| ** | |
| ** Unless required by applicable law or agreed to in writing, software | |
| ** distributed under the License is distributed on an "AS IS" BASIS, | |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| ** See the License for the specific language governing permissions and | |
| ** limitations under the License. | |
| */ | |
| --> | |
| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:id="@+id/connectivity_layout" | |
| android:descendantFocusability="beforeDescendants" | |
| android:focusableInTouchMode="true" | |
| android:focusable="true" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <LinearLayout | |
| android:orientation="vertical" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/enableWifi" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/enable_wifi" /> | |
| <Button android:id="@+id/disableWifi" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/disable_wifi" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/acquireWifiMulticastLock" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/acquire_wifi_multicast_lock" /> | |
| <Button android:id="@+id/releaseWifiMulticastLock" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/release_wifi_multicast_lock" /> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingTop="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/startDelayedCycle" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/start_toggling" /> | |
| <Button android:id="@+id/stopDelayedCycle" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/stop_toggling" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_on_duration" /> | |
| <EditText android:id="@+id/dc_wifi_on_duration" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_off_duration" /> | |
| <EditText android:id="@+id/dc_wifi_off_duration" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15"/> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_cycles_done" /> | |
| <TextView android:id="@+id/dc_wifi_cycles_done" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15"/> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingTop="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/startScreenCycle" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/start_screen_toggling" /> | |
| <Button android:id="@+id/stopScreenCycle" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/stop_screen_toggling" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_on_duration" /> | |
| <EditText android:id="@+id/sc_wifi_on_duration" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_off_duration" /> | |
| <EditText android:id="@+id/sc_wifi_off_duration" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15"/> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/wifi_cycles_done" /> | |
| <TextView android:id="@+id/sc_wifi_cycles_done" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="15"/> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingTop="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/startScan" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/start_scan" /> | |
| <CheckBox android:id="@+id/scanDisconnect" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/disconnect" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:inputType="number" | |
| android:text="@string/scan_cycles" /> | |
| <EditText android:id="@+id/sc_scan_cycles" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="5" /> | |
| <TextView android:id="@+id/sc_scan_results" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginLeft="14.5sp" /> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/startTdls" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/start_tdls" /> | |
| <Button android:id="@+id/stopTdls" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/stop_tdls" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/mac_tdls" /> | |
| <EditText android:id="@+id/sc_ip_mac" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minEms="10" /> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingTop="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/request_mms" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/request_mms" /> | |
| <Button android:id="@+id/release_mms" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/release_mms" /> | |
| <ProgressBar android:id="@+id/mms_progress" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/request_supl" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/request_supl" /> | |
| <Button android:id="@+id/release_supl" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/release_supl" /> | |
| <ProgressBar android:id="@+id/supl_progress" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/request_cell" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/request_cell" /> | |
| <Button android:id="@+id/release_cell" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/release_cell" /> | |
| <ProgressBar android:id="@+id/cell_progress" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/request_wifi" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/request_wifi" /> | |
| <Button android:id="@+id/release_wifi" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/release_wifi" /> | |
| <ProgressBar android:id="@+id/wifi_progress" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingBottom="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/report_all_bad" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/report_all_bad" /> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/default_request" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/default_request" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/bound_http_request" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/bound_http_request" /> | |
| <Button android:id="@+id/bound_socket_request" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/bound_socket_request" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:id="@+id/http_response" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |
| </LinearLayout> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <!-- divider line --> | |
| <View android:background="#FFFFFFFF" | |
| android:layout_width="match_parent" | |
| android:layout_height="3dip" /> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:paddingTop="4dip" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <Button android:id="@+id/link_stats" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/link_stats" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:orientation="horizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:id="@+id/stats" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/stats_results" /> | |
| </LinearLayout> | |
| </LinearLayout> | |
| </ScrollView> | |