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 <LinearLayout 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:orientation="vertical" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent"> 25 26 <LinearLayout 27 android:orientation="horizontal" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content"> 30 <Button android:id="@+id/enableWifi" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:text="@string/enable_wifi" /> 34 <Button android:id="@+id/disableWifi" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:text="@string/disable_wifi" /> 38 </LinearLayout> 39 40 <!-- divider line --> 41 <View android:background="#FFFFFFFF" 42 android:layout_width="match_parent" 43 android:layout_height="3dip" /> 44 45 <LinearLayout 46 android:orientation="horizontal" 47 android:paddingTop="4dip" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content"> 50 <Button android:id="@+id/startDelayedCycle" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:text="@string/start_toggling" /> 54 <Button android:id="@+id/stopDelayedCycle" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:text="@string/stop_toggling" /> 58 </LinearLayout> 59 60 <LinearLayout 61 android:orientation="horizontal" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content"> 64 <TextView 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:text="@string/wifi_on_duration" /> 68 <EditText android:id="@+id/dc_wifi_on_duration" 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:minEms="15" /> 72 </LinearLayout> 73 74 <LinearLayout 75 android:orientation="horizontal" 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content"> 78 <TextView 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:text="@string/wifi_off_duration" /> 82 <EditText android:id="@+id/dc_wifi_off_duration" 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content" 85 android:minEms="15"/> 86 </LinearLayout> 87 88 <LinearLayout 89 android:orientation="horizontal" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content"> 92 <TextView 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:text="@string/wifi_cycles_done" /> 96 <TextView android:id="@+id/dc_wifi_cycles_done" 97 android:layout_width="wrap_content" 98 android:layout_height="wrap_content" 99 android:minEms="15"/> 100 </LinearLayout> 101 102 <!-- divider line --> 103 <View android:background="#FFFFFFFF" 104 android:layout_width="match_parent" 105 android:layout_height="3dip" /> 106 107 <LinearLayout 108 android:orientation="horizontal" 109 android:paddingTop="4dip" 110 android:layout_width="match_parent" 111 android:layout_height="wrap_content"> 112 <Button android:id="@+id/startScreenCycle" 113 android:layout_width="wrap_content" 114 android:layout_height="wrap_content" 115 android:text="@string/start_screen_toggling" /> 116 <Button android:id="@+id/stopScreenCycle" 117 android:layout_width="wrap_content" 118 android:layout_height="wrap_content" 119 android:text="@string/stop_screen_toggling" /> 120 </LinearLayout> 121 122 <LinearLayout 123 android:orientation="horizontal" 124 android:layout_width="match_parent" 125 android:layout_height="wrap_content"> 126 <TextView 127 android:layout_width="wrap_content" 128 android:layout_height="wrap_content" 129 android:text="@string/wifi_on_duration" /> 130 <EditText android:id="@+id/sc_wifi_on_duration" 131 android:layout_width="wrap_content" 132 android:layout_height="wrap_content" 133 android:minEms="15" /> 134 </LinearLayout> 135 136 <LinearLayout 137 android:orientation="horizontal" 138 android:layout_width="match_parent" 139 android:layout_height="wrap_content"> 140 <TextView 141 android:layout_width="wrap_content" 142 android:layout_height="wrap_content" 143 android:text="@string/wifi_off_duration" /> 144 <EditText android:id="@+id/sc_wifi_off_duration" 145 android:layout_width="wrap_content" 146 android:layout_height="wrap_content" 147 android:minEms="15"/> 148 </LinearLayout> 149 150 <LinearLayout 151 android:orientation="horizontal" 152 android:layout_width="match_parent" 153 android:layout_height="wrap_content"> 154 <TextView 155 android:layout_width="wrap_content" 156 android:layout_height="wrap_content" 157 android:text="@string/wifi_cycles_done" /> 158 <TextView android:id="@+id/sc_wifi_cycles_done" 159 android:layout_width="wrap_content" 160 android:layout_height="wrap_content" 161 android:minEms="15"/> 162 </LinearLayout> 163 164 <!-- divider line --> 165 <View android:background="#FFFFFFFF" 166 android:layout_width="match_parent" 167 android:layout_height="3dip" /> 168 169 <LinearLayout 170 android:orientation="horizontal" 171 android:paddingTop="4dip" 172 android:layout_width="match_parent" 173 android:layout_height="wrap_content"> 174 <Button android:id="@+id/start_mms" 175 android:layout_width="wrap_content" 176 android:layout_height="wrap_content" 177 android:text="@string/start_mms" /> 178 <Button android:id="@+id/stop_mms" 179 android:layout_width="wrap_content" 180 android:layout_height="wrap_content" 181 android:text="@string/stop_mms" /> 182 </LinearLayout> 183 <LinearLayout 184 android:orientation="horizontal" 185 android:layout_width="match_parent" 186 android:layout_height="wrap_content"> 187 <Button android:id="@+id/start_hipri" 188 android:layout_width="wrap_content" 189 android:layout_height="wrap_content" 190 android:text="@string/start_hipri" /> 191 <Button android:id="@+id/stop_hipri" 192 android:layout_width="wrap_content" 193 android:layout_height="wrap_content" 194 android:text="@string/stop_hipri" /> 195 </LinearLayout> 196 <LinearLayout 197 android:orientation="horizontal" 198 android:layout_width="match_parent" 199 android:layout_height="wrap_content"> 200 <Button android:id="@+id/crash" 201 android:layout_width="wrap_content" 202 android:layout_height="wrap_content" 203 android:text="@string/crash" /> 204 </LinearLayout> 205 </LinearLayout> 206 207