Home | History | Annotate | Download | only in layout
      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         <Button android:id="@+id/stopTdls"
    223           android:layout_width="wrap_content"
    224           android:layout_height="wrap_content"
    225           android:text="@string/stop_tdls" />
    226     </LinearLayout>
    227     <LinearLayout
    228       android:orientation="horizontal"
    229       android:layout_width="match_parent"
    230       android:layout_height="wrap_content">
    231         <TextView
    232           android:layout_width="wrap_content"
    233           android:layout_height="wrap_content"
    234           android:text="@string/mac_tdls" />
    235         <EditText android:id="@+id/sc_ip_mac"
    236           android:layout_width="wrap_content"
    237           android:layout_height="wrap_content"
    238           android:minEms="10" />
    239     </LinearLayout>
    240 
    241     <!-- divider line -->
    242     <View android:background="#FFFFFFFF"
    243       android:layout_width="match_parent"
    244       android:layout_height="3dip" />
    245 
    246     <LinearLayout
    247       android:orientation="horizontal"
    248       android:paddingTop="4dip"
    249       android:layout_width="match_parent"
    250       android:layout_height="wrap_content">
    251         <Button android:id="@+id/start_mms"
    252           android:layout_width="wrap_content"
    253           android:layout_height="wrap_content"
    254           android:text="@string/start_mms" />
    255         <Button android:id="@+id/stop_mms"
    256           android:layout_width="wrap_content"
    257           android:layout_height="wrap_content"
    258           android:text="@string/stop_mms" />
    259     </LinearLayout>
    260     <LinearLayout
    261       android:orientation="horizontal"
    262       android:layout_width="match_parent"
    263       android:layout_height="wrap_content">
    264         <Button android:id="@+id/start_hipri"
    265           android:layout_width="wrap_content"
    266           android:layout_height="wrap_content"
    267           android:text="@string/start_hipri" />
    268         <Button android:id="@+id/stop_hipri"
    269           android:layout_width="wrap_content"
    270           android:layout_height="wrap_content"
    271           android:text="@string/stop_hipri" />
    272     </LinearLayout>
    273     <LinearLayout
    274       android:orientation="horizontal"
    275       android:layout_width="match_parent"
    276       android:layout_height="wrap_content">
    277         <Button android:id="@+id/crash"
    278           android:layout_width="wrap_content"
    279           android:layout_height="wrap_content"
    280           android:text="@string/crash" />
    281     </LinearLayout>
    282 
    283     <LinearLayout
    284       android:orientation="horizontal"
    285       android:layout_width="match_parent"
    286       android:layout_height="wrap_content">
    287         <TextView
    288           android:layout_width="wrap_content"
    289           android:layout_height="wrap_content"
    290           android:text="@string/netid" />
    291         <EditText android:id="@+id/netid"
    292           android:layout_width="wrap_content"
    293           android:layout_height="wrap_content"
    294           android:minEms="5" />
    295         <Button android:id="@+id/add_default_route"
    296           android:layout_width="wrap_content"
    297           android:layout_height="wrap_content"
    298           android:text="@string/add_default_route" />
    299         <Button android:id="@+id/remove_default_route"
    300           android:layout_width="wrap_content"
    301           android:layout_height="wrap_content"
    302           android:text="@string/remove_default_route" />
    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/default_request"
    309           android:layout_width="wrap_content"
    310           android:layout_height="wrap_content"
    311           android:text="@string/default_request" />
    312         <Button android:id="@+id/default_socket"
    313           android:layout_width="wrap_content"
    314           android:layout_height="wrap_content"
    315           android:text="@string/default_socket" />
    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/bound_http_request"
    322           android:layout_width="wrap_content"
    323           android:layout_height="wrap_content"
    324           android:text="@string/bound_http_request" />
    325         <Button android:id="@+id/bound_socket_request"
    326           android:layout_width="wrap_content"
    327           android:layout_height="wrap_content"
    328           android:text="@string/bound_socket_request" />
    329     </LinearLayout>
    330     <LinearLayout
    331       android:orientation="horizontal"
    332       android:layout_width="match_parent"
    333       android:layout_height="wrap_content">
    334         <Button android:id="@+id/routed_http_request"
    335           android:layout_width="wrap_content"
    336           android:layout_height="wrap_content"
    337           android:text="@string/routed_http_request" />
    338         <Button android:id="@+id/routed_socket_request"
    339           android:layout_width="wrap_content"
    340           android:layout_height="wrap_content"
    341           android:text="@string/routed_socket_request" />
    342     </LinearLayout>
    343   </LinearLayout>
    344 </ScrollView>
    345 
    346