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 <ImageView 179 android:src="@android:drawable/divider_horizontal_dark" 180 android:layout_width="fill_parent" 181 android:layout_height="wrap_content" 182 android:scaleType="fitXY"/> 183 184 <ScrollView 185 android:layout_width="fill_parent" 186 android:layout_height="wrap_content" > 187 188 <LinearLayout 189 android:layout_width="fill_parent" 190 android:layout_height="wrap_content" 191 android:orientation="vertical"> 192 193 <LinearLayout 194 android:layout_width="fill_parent" 195 android:layout_height="wrap_content" 196 android:gravity="center_horizontal" 197 android:orientation="vertical" 198 android:layout_marginLeft="10dip" 199 android:layout_marginTop="10dip" 200 android:layout_marginRight="10dip" 201 android:layout_marginBottom="10dip" 202 > 203 204 <TextView android:id="@+id/waveformName" 205 android:layout_width="fill_parent" 206 android:layout_height="wrap_content" 207 android:text="@string/waveform_name" /> 208 209 <LinearLayout android:id="@+id/eqParam1Desc" 210 android:orientation="horizontal" 211 android:layout_width="fill_parent" 212 android:layout_height="wrap_content" 213 android:layout_marginLeft="10dip" 214 android:layout_marginTop="10dip" 215 android:layout_marginRight="10dip" 216 android:layout_marginBottom="10dip" > 217 218 <TextView android:id="@+id/waveformMin" 219 android:layout_width="fill_parent" 220 android:layout_height="fill_parent" 221 android:layout_weight="1.0" /> 222 <TextView android:id="@+id/waveformCenter" 223 android:layout_width="fill_parent" 224 android:layout_height="fill_parent" 225 android:layout_weight="1.0" /> 226 <TextView android:id="@+id/waveformMax" 227 android:layout_width="fill_parent" 228 android:layout_height="fill_parent" 229 android:layout_weight="1.0" /> 230 231 </LinearLayout> 232 233 </LinearLayout> 234 235 <ImageView 236 android:src="@android:drawable/divider_horizontal_dark" 237 android:layout_width="fill_parent" 238 android:layout_height="wrap_content" 239 android:scaleType="fitXY"/> 240 241 <LinearLayout 242 android:layout_width="fill_parent" 243 android:layout_height="wrap_content" 244 android:gravity="center_horizontal" 245 android:orientation="vertical" 246 android:layout_marginLeft="10dip" 247 android:layout_marginTop="10dip" 248 android:layout_marginRight="10dip" 249 android:layout_marginBottom="10dip" 250 > 251 252 <TextView android:id="@+id/fftName" 253 android:layout_width="fill_parent" 254 android:layout_height="wrap_content" 255 android:text="@string/fft_name" /> 256 257 <LinearLayout android:id="@+id/eqParam1Desc" 258 android:orientation="horizontal" 259 android:layout_width="fill_parent" 260 android:layout_height="wrap_content" 261 android:layout_marginLeft="10dip" 262 android:layout_marginTop="10dip" 263 android:layout_marginRight="10dip" 264 android:layout_marginBottom="10dip" > 265 266 <TextView android:id="@+id/fftMin" 267 android:layout_width="fill_parent" 268 android:layout_height="fill_parent" 269 android:layout_weight="1.0" /> 270 <TextView android:id="@+id/fftCenter" 271 android:layout_width="fill_parent" 272 android:layout_height="fill_parent" 273 android:layout_weight="1.0" /> 274 <TextView android:id="@+id/fftMax" 275 android:layout_width="fill_parent" 276 android:layout_height="fill_parent" 277 android:layout_weight="1.0" /> 278 279 </LinearLayout> 280 281 </LinearLayout> 282 283 <ImageView 284 android:src="@android:drawable/divider_horizontal_dark" 285 android:layout_width="fill_parent" 286 android:layout_height="wrap_content" 287 android:scaleType="fitXY"/> 288 289 290 </LinearLayout> 291 292 </ScrollView> 293 294</LinearLayout> 295