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:layout_width="match_parent"
     22     android:layout_height="match_parent">
     23 
     24   <LinearLayout
     25     android:orientation="vertical"
     26     android:layout_width="match_parent"
     27     android:layout_height="wrap_content">
     28     <LinearLayout
     29       android:orientation="horizontal"
     30       android:layout_width="match_parent"
     31       android:layout_height="wrap_content">
     32         <Button android:id="@+id/enableWifi"
     33           android:layout_width="wrap_content"
     34           android:layout_height="wrap_content"
     35           android:text="@string/enable_wifi" />
     36         <Button android:id="@+id/disableWifi"
     37           android:layout_width="wrap_content"
     38           android:layout_height="wrap_content"
     39           android:text="@string/disable_wifi" />
     40     </LinearLayout>
     41 
     42     <!-- divider line -->
     43     <View android:background="#FFFFFFFF"
     44       android:layout_width="match_parent"
     45       android:layout_height="3dip" />
     46 
     47     <LinearLayout
     48       android:orientation="horizontal"
     49       android:paddingTop="4dip"
     50       android:layout_width="match_parent"
     51       android:layout_height="wrap_content">
     52         <Button android:id="@+id/startDelayedCycle"
     53           android:layout_width="wrap_content"
     54           android:layout_height="wrap_content"
     55           android:text="@string/start_toggling" />
     56         <Button android:id="@+id/stopDelayedCycle"
     57           android:layout_width="wrap_content"
     58           android:layout_height="wrap_content"
     59           android:text="@string/stop_toggling" />
     60     </LinearLayout>
     61 
     62     <LinearLayout
     63       android:orientation="horizontal"
     64       android:layout_width="match_parent"
     65       android:layout_height="wrap_content">
     66         <TextView
     67           android:layout_width="wrap_content"
     68           android:layout_height="wrap_content"
     69           android:text="@string/wifi_on_duration" />
     70         <EditText android:id="@+id/dc_wifi_on_duration"
     71           android:layout_width="wrap_content"
     72           android:layout_height="wrap_content"
     73           android:minEms="15" />
     74     </LinearLayout>
     75 
     76     <LinearLayout
     77       android:orientation="horizontal"
     78       android:layout_width="match_parent"
     79       android:layout_height="wrap_content">
     80         <TextView
     81           android:layout_width="wrap_content"
     82           android:layout_height="wrap_content"
     83           android:text="@string/wifi_off_duration" />
     84         <EditText android:id="@+id/dc_wifi_off_duration"
     85           android:layout_width="wrap_content"
     86           android:layout_height="wrap_content"
     87           android:minEms="15"/>
     88     </LinearLayout>
     89 
     90     <LinearLayout
     91       android:orientation="horizontal"
     92       android:layout_width="match_parent"
     93       android:layout_height="wrap_content">
     94         <TextView
     95           android:layout_width="wrap_content"
     96           android:layout_height="wrap_content"
     97           android:text="@string/wifi_cycles_done" />
     98         <TextView android:id="@+id/dc_wifi_cycles_done"
     99           android:layout_width="wrap_content"
    100           android:layout_height="wrap_content"
    101           android:minEms="15"/>
    102     </LinearLayout>
    103 
    104     <!-- divider line -->
    105     <View android:background="#FFFFFFFF"
    106       android:layout_width="match_parent"
    107       android:layout_height="3dip" />
    108 
    109     <LinearLayout
    110       android:orientation="horizontal"
    111       android:paddingTop="4dip"
    112       android:layout_width="match_parent"
    113       android:layout_height="wrap_content">
    114         <Button android:id="@+id/startScreenCycle"
    115           android:layout_width="wrap_content"
    116           android:layout_height="wrap_content"
    117           android:text="@string/start_screen_toggling" />
    118         <Button android:id="@+id/stopScreenCycle"
    119           android:layout_width="wrap_content"
    120           android:layout_height="wrap_content"
    121           android:text="@string/stop_screen_toggling" />
    122     </LinearLayout>
    123 
    124     <LinearLayout
    125       android:orientation="horizontal"
    126       android:layout_width="match_parent"
    127       android:layout_height="wrap_content">
    128         <TextView
    129           android:layout_width="wrap_content"
    130           android:layout_height="wrap_content"
    131           android:text="@string/wifi_on_duration" />
    132         <EditText android:id="@+id/sc_wifi_on_duration"
    133           android:layout_width="wrap_content"
    134           android:layout_height="wrap_content"
    135           android:minEms="15" />
    136     </LinearLayout>
    137 
    138     <LinearLayout
    139       android:orientation="horizontal"
    140       android:layout_width="match_parent"
    141       android:layout_height="wrap_content">
    142         <TextView
    143           android:layout_width="wrap_content"
    144           android:layout_height="wrap_content"
    145           android:text="@string/wifi_off_duration" />
    146         <EditText android:id="@+id/sc_wifi_off_duration"
    147           android:layout_width="wrap_content"
    148           android:layout_height="wrap_content"
    149           android:minEms="15"/>
    150     </LinearLayout>
    151 
    152     <LinearLayout
    153       android:orientation="horizontal"
    154       android:layout_width="match_parent"
    155       android:layout_height="wrap_content">
    156         <TextView
    157           android:layout_width="wrap_content"
    158           android:layout_height="wrap_content"
    159           android:text="@string/wifi_cycles_done" />
    160         <TextView android:id="@+id/sc_wifi_cycles_done"
    161           android:layout_width="wrap_content"
    162           android:layout_height="wrap_content"
    163           android:minEms="15"/>
    164     </LinearLayout>
    165 
    166     <!-- divider line -->
    167     <View android:background="#FFFFFFFF"
    168       android:layout_width="match_parent"
    169       android:layout_height="3dip" />
    170 
    171     <LinearLayout
    172       android:orientation="horizontal"
    173       android:paddingTop="4dip"
    174       android:layout_width="match_parent"
    175       android:layout_height="wrap_content">
    176         <Button android:id="@+id/start_mms"
    177           android:layout_width="wrap_content"
    178           android:layout_height="wrap_content"
    179           android:text="@string/start_mms" />
    180         <Button android:id="@+id/stop_mms"
    181           android:layout_width="wrap_content"
    182           android:layout_height="wrap_content"
    183           android:text="@string/stop_mms" />
    184     </LinearLayout>
    185     <LinearLayout
    186       android:orientation="horizontal"
    187       android:layout_width="match_parent"
    188       android:layout_height="wrap_content">
    189         <Button android:id="@+id/start_hipri"
    190           android:layout_width="wrap_content"
    191           android:layout_height="wrap_content"
    192           android:text="@string/start_hipri" />
    193         <Button android:id="@+id/stop_hipri"
    194           android:layout_width="wrap_content"
    195           android:layout_height="wrap_content"
    196           android:text="@string/stop_hipri" />
    197     </LinearLayout>
    198     <LinearLayout
    199       android:orientation="horizontal"
    200       android:layout_width="match_parent"
    201       android:layout_height="wrap_content">
    202         <Button android:id="@+id/crash"
    203           android:layout_width="wrap_content"
    204           android:layout_height="wrap_content"
    205           android:text="@string/crash" />
    206     </LinearLayout>
    207 
    208     <LinearLayout
    209       android:orientation="horizontal"
    210       android:layout_width="match_parent"
    211       android:layout_height="wrap_content">
    212         <Button android:id="@+id/add_default_route"
    213           android:layout_width="wrap_content"
    214           android:layout_height="wrap_content"
    215           android:text="@string/add_default_route" />
    216         <Button android:id="@+id/remove_default_route"
    217           android:layout_width="wrap_content"
    218           android:layout_height="wrap_content"
    219           android:text="@string/remove_default_route" />
    220     </LinearLayout>
    221     <LinearLayout
    222       android:orientation="horizontal"
    223       android:layout_width="match_parent"
    224       android:layout_height="wrap_content">
    225         <Button android:id="@+id/default_request"
    226           android:layout_width="wrap_content"
    227           android:layout_height="wrap_content"
    228           android:text="@string/default_request" />
    229         <Button android:id="@+id/default_socket"
    230           android:layout_width="wrap_content"
    231           android:layout_height="wrap_content"
    232           android:text="@string/default_socket" />
    233     </LinearLayout>
    234     <LinearLayout
    235       android:orientation="horizontal"
    236       android:layout_width="match_parent"
    237       android:layout_height="wrap_content">
    238         <Button android:id="@+id/bound_http_request"
    239           android:layout_width="wrap_content"
    240           android:layout_height="wrap_content"
    241           android:text="@string/bound_http_request" />
    242         <Button android:id="@+id/bound_socket_request"
    243           android:layout_width="wrap_content"
    244           android:layout_height="wrap_content"
    245           android:text="@string/bound_socket_request" />
    246     </LinearLayout>
    247     <LinearLayout
    248       android:orientation="horizontal"
    249       android:layout_width="match_parent"
    250       android:layout_height="wrap_content">
    251         <Button android:id="@+id/routed_http_request"
    252           android:layout_width="wrap_content"
    253           android:layout_height="wrap_content"
    254           android:text="@string/routed_http_request" />
    255         <Button android:id="@+id/routed_socket_request"
    256           android:layout_width="wrap_content"
    257           android:layout_height="wrap_content"
    258           android:text="@string/routed_socket_request" />
    259     </LinearLayout>
    260   </LinearLayout>
    261 </ScrollView>
    262 
    263