1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="fill_parent" 19 android:layout_height="fill_parent" 20 android:orientation="vertical"> 21 22 <ImageView 23 android:src="@android:drawable/divider_horizontal_dark" 24 android:layout_width="fill_parent" 25 android:layout_height="wrap_content" 26 android:scaleType="fitXY"/> 27 28 <LinearLayout android:id="@+id/visuReleaseLayout" 29 android:orientation="horizontal" 30 android:layout_width="fill_parent" 31 android:layout_height="wrap_content" 32 android:layout_marginLeft="10dip" 33 android:layout_marginTop="10dip" 34 android:layout_marginRight="10dip" 35 android:layout_marginBottom="10dip" > 36 37 <TextView android:id="@+id/visuReleaseText" 38 android:layout_width="fill_parent" 39 android:layout_height="fill_parent" 40 android:layout_weight="1.0" 41 android:layout_gravity="center_vertical|left" 42 android:text="@string/effect_release" 43 style="@android:style/TextAppearance.Medium" /> 44 45 <ToggleButton android:id="@+id/visuReleaseButton" 46 android:layout_width="wrap_content" 47 android:layout_height="fill_parent" 48 android:layout_gravity="center_vertical|right" 49 android:layout_weight="0.0" /> 50 51 </LinearLayout> 52 53 <ImageView 54 android:src="@android:drawable/divider_horizontal_dark" 55 android:layout_width="fill_parent" 56 android:layout_height="wrap_content" 57 android:scaleType="fitXY"/> 58 59 <LinearLayout android:id="@+id/visuMultithreadedLayout" 60 android:orientation="horizontal" 61 android:layout_width="fill_parent" 62 android:layout_height="wrap_content" 63 android:layout_marginLeft="10dip" 64 android:layout_marginTop="10dip" 65 android:layout_marginRight="10dip" 66 android:layout_marginBottom="10dip" > 67 68 <TextView android:id="@+id/visuMultithreaded" 69 android:layout_width="fill_parent" 70 android:layout_height="fill_parent" 71 android:layout_weight="1.0" 72 android:layout_gravity="center_vertical|left" 73 android:text="@string/effect_multithreaded" 74 style="@android:style/TextAppearance.Medium" /> 75 76 <ToggleButton android:id="@+id/visuMultithreadedOnOff" 77 android:layout_width="wrap_content" 78 android:layout_height="fill_parent" 79 android:layout_gravity="center_vertical|right" 80 android:layout_weight="0.0" /> 81 82 </LinearLayout> 83 84 <ImageView 85 android:src="@android:drawable/divider_horizontal_dark" 86 android:layout_width="fill_parent" 87 android:layout_height="wrap_content" 88 android:scaleType="fitXY"/> 89 90 <LinearLayout android:id="@+id/visuControlLayout" 91 android:orientation="horizontal" 92 android:layout_width="fill_parent" 93 android:layout_height="wrap_content" 94 android:layout_marginLeft="10dip" 95 android:layout_marginTop="10dip" 96 android:layout_marginRight="10dip" 97 android:layout_marginBottom="10dip" > 98 99 <TextView android:id="@+id/visuControlText" 100 android:layout_width="fill_parent" 101 android:layout_height="fill_parent" 102 android:layout_weight="1.0" 103 android:layout_gravity="center_vertical|left" 104 android:text="@string/effect_control" 105 style="@android:style/TextAppearance.Medium" /> 106 107 <ToggleButton android:id="@+id/visualizerOnOff" 108 android:layout_width="wrap_content" 109 android:layout_height="fill_parent" 110 android:layout_gravity="center_vertical|right" 111 android:layout_weight="0.0" /> 112 113 </LinearLayout> 114 115 <ImageView 116 android:src="@android:drawable/divider_horizontal_dark" 117 android:layout_width="fill_parent" 118 android:layout_height="wrap_content" 119 android:scaleType="fitXY"/> 120 121 <LinearLayout android:id="@+id/SessionFrame" 122 android:orientation="horizontal" 123 android:layout_width="fill_parent" 124 android:layout_height="wrap_content" 125 android:layout_marginLeft="10dip" 126 android:layout_marginTop="10dip" 127 android:layout_marginRight="10dip" 128 android:layout_marginBottom="10dip" > 129 130 <TextView android:id="@+id/sessionText" 131 android:layout_width="fill_parent" 132 android:layout_height="fill_parent" 133 android:layout_weight="0.5" 134 android:layout_gravity="center_vertical|left" 135 android:text="@string/session" 136 style="@android:style/TextAppearance.Medium" /> 137 138 <EditText android:id="@+id/sessionEdit" 139 android:singleLine="true" 140 android:numeric="integer" 141 android:layout_width="fill_parent" 142 android:layout_height="wrap_content" 143 android:layout_weight="0.5" 144 android:layout_gravity="center_vertical|right" /> 145 </LinearLayout> 146 147 <ImageView 148 android:src="@android:drawable/divider_horizontal_dark" 149 android:layout_width="fill_parent" 150 android:layout_height="wrap_content" 151 android:scaleType="fitXY"/> 152 153 <LinearLayout android:id="@+id/visuCallbackLayout" 154 android:orientation="horizontal" 155 android:layout_width="fill_parent" 156 android:layout_height="wrap_content" 157 android:layout_marginLeft="10dip" 158 android:layout_marginTop="10dip" 159 android:layout_marginRight="10dip" 160 android:layout_marginBottom="10dip" > 161 162 <TextView android:id="@+id/visuCallbackText" 163 android:layout_width="fill_parent" 164 android:layout_height="fill_parent" 165 android:layout_weight="1.0" 166 android:layout_gravity="center_vertical|left" 167 android:text="@string/visu_callback" 168 style="@android:style/TextAppearance.Medium" /> 169 170 <ToggleButton android:id="@+id/visuCallbackOnOff" 171 android:layout_width="wrap_content" 172 android:layout_height="fill_parent" 173 android:layout_gravity="center_vertical|right" 174 android:layout_weight="0.0" /> 175 176 </LinearLayout> 177 178 <Button android:id="@+id/hammer_on_release_bug" 179 android:layout_width="fill_parent" android:layout_height="wrap_content" 180 android:text="@string/hammer_on_release_bug_name"> 181 </Button> 182 183 <ImageView 184 android:src="@android:drawable/divider_horizontal_dark" 185 android:layout_width="fill_parent" 186 android:layout_height="wrap_content" 187 android:scaleType="fitXY"/> 188 189 <ScrollView 190 android:layout_width="fill_parent" 191 android:layout_height="wrap_content" > 192 193 <LinearLayout 194 android:layout_width="fill_parent" 195 android:layout_height="wrap_content" 196 android:orientation="vertical"> 197 198 <LinearLayout 199 android:layout_width="fill_parent" 200 android:layout_height="wrap_content" 201 android:gravity="center_horizontal" 202 android:orientation="vertical" 203 android:layout_marginLeft="10dip" 204 android:layout_marginTop="10dip" 205 android:layout_marginRight="10dip" 206 android:layout_marginBottom="10dip" 207 > 208 209 <TextView android:id="@+id/waveformName" 210 android:layout_width="fill_parent" 211 android:layout_height="wrap_content" 212 android:text="@string/waveform_name" /> 213 214 <LinearLayout android:id="@+id/eqParam1Desc" 215 android:orientation="horizontal" 216 android:layout_width="fill_parent" 217 android:layout_height="wrap_content" 218 android:layout_marginLeft="10dip" 219 android:layout_marginTop="10dip" 220 android:layout_marginRight="10dip" 221 android:layout_marginBottom="10dip" > 222 223 <TextView android:id="@+id/waveformMin" 224 android:layout_width="fill_parent" 225 android:layout_height="fill_parent" 226 android:layout_weight="1.0" /> 227 <TextView android:id="@+id/waveformCenter" 228 android:layout_width="fill_parent" 229 android:layout_height="fill_parent" 230 android:layout_weight="1.0" /> 231 <TextView android:id="@+id/waveformMax" 232 android:layout_width="fill_parent" 233 android:layout_height="fill_parent" 234 android:layout_weight="1.0" /> 235 236 </LinearLayout> 237 238 </LinearLayout> 239 240 <ImageView 241 android:src="@android:drawable/divider_horizontal_dark" 242 android:layout_width="fill_parent" 243 android:layout_height="wrap_content" 244 android:scaleType="fitXY"/> 245 246 <LinearLayout 247 android:layout_width="fill_parent" 248 android:layout_height="wrap_content" 249 android:gravity="center_horizontal" 250 android:orientation="vertical" 251 android:layout_marginLeft="10dip" 252 android:layout_marginTop="10dip" 253 android:layout_marginRight="10dip" 254 android:layout_marginBottom="10dip" 255 > 256 257 <TextView android:id="@+id/fftName" 258 android:layout_width="fill_parent" 259 android:layout_height="wrap_content" 260 android:text="@string/fft_name" /> 261 262 <LinearLayout android:id="@+id/eqParam1Desc" 263 android:orientation="horizontal" 264 android:layout_width="fill_parent" 265 android:layout_height="wrap_content" 266 android:layout_marginLeft="10dip" 267 android:layout_marginTop="10dip" 268 android:layout_marginRight="10dip" 269 android:layout_marginBottom="10dip" > 270 271 <TextView android:id="@+id/fftMin" 272 android:layout_width="fill_parent" 273 android:layout_height="fill_parent" 274 android:layout_weight="1.0" /> 275 <TextView android:id="@+id/fftCenter" 276 android:layout_width="fill_parent" 277 android:layout_height="fill_parent" 278 android:layout_weight="1.0" /> 279 <TextView android:id="@+id/fftMax" 280 android:layout_width="fill_parent" 281 android:layout_height="fill_parent" 282 android:layout_weight="1.0" /> 283 284 </LinearLayout> 285 286 </LinearLayout> 287 288 <ImageView 289 android:src="@android:drawable/divider_horizontal_dark" 290 android:layout_width="fill_parent" 291 android:layout_height="wrap_content" 292 android:scaleType="fitXY"/> 293 294 295 </LinearLayout> 296 297 </ScrollView> 298 299</LinearLayout> 300