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/visuControlLayout" 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/visuControlText" 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_control" 74 style="@android:style/TextAppearance.Medium" /> 75 76 <ToggleButton android:id="@+id/visualizerOnOff" 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/SessionFrame" 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/sessionText" 100 android:layout_width="fill_parent" 101 android:layout_height="fill_parent" 102 android:layout_weight="0.5" 103 android:layout_gravity="center_vertical|left" 104 android:text="@string/session" 105 style="@android:style/TextAppearance.Medium" /> 106 107 <EditText android:id="@+id/sessionEdit" 108 android:singleLine="true" 109 android:numeric="integer" 110 android:layout_width="fill_parent" 111 android:layout_height="wrap_content" 112 android:layout_weight="0.5" 113 android:layout_gravity="center_vertical|right" /> 114 </LinearLayout> 115 116 <ImageView 117 android:src="@android:drawable/divider_horizontal_dark" 118 android:layout_width="fill_parent" 119 android:layout_height="wrap_content" 120 android:scaleType="fitXY"/> 121 122 <LinearLayout android:id="@+id/visuCallbackLayout" 123 android:orientation="horizontal" 124 android:layout_width="fill_parent" 125 android:layout_height="wrap_content" 126 android:layout_marginLeft="10dip" 127 android:layout_marginTop="10dip" 128 android:layout_marginRight="10dip" 129 android:layout_marginBottom="10dip" > 130 131 <TextView android:id="@+id/visuCallbackText" 132 android:layout_width="fill_parent" 133 android:layout_height="fill_parent" 134 android:layout_weight="1.0" 135 android:layout_gravity="center_vertical|left" 136 android:text="@string/visu_callback" 137 style="@android:style/TextAppearance.Medium" /> 138 139 <ToggleButton android:id="@+id/visuCallbackOnOff" 140 android:layout_width="wrap_content" 141 android:layout_height="fill_parent" 142 android:layout_gravity="center_vertical|right" 143 android:layout_weight="0.0" /> 144 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 <ScrollView 154 android:layout_width="fill_parent" 155 android:layout_height="wrap_content" > 156 157 <LinearLayout 158 android:layout_width="fill_parent" 159 android:layout_height="wrap_content" 160 android:orientation="vertical"> 161 162 <LinearLayout 163 android:layout_width="fill_parent" 164 android:layout_height="wrap_content" 165 android:gravity="center_horizontal" 166 android:orientation="vertical" 167 android:layout_marginLeft="10dip" 168 android:layout_marginTop="10dip" 169 android:layout_marginRight="10dip" 170 android:layout_marginBottom="10dip" 171 > 172 173 <TextView android:id="@+id/waveformName" 174 android:layout_width="fill_parent" 175 android:layout_height="wrap_content" 176 android:text="@string/waveform_name" /> 177 178 <LinearLayout android:id="@+id/eqParam1Desc" 179 android:orientation="horizontal" 180 android:layout_width="fill_parent" 181 android:layout_height="wrap_content" 182 android:layout_marginLeft="10dip" 183 android:layout_marginTop="10dip" 184 android:layout_marginRight="10dip" 185 android:layout_marginBottom="10dip" > 186 187 <TextView android:id="@+id/waveformMin" 188 android:layout_width="fill_parent" 189 android:layout_height="fill_parent" 190 android:layout_weight="1.0" /> 191 <TextView android:id="@+id/waveformCenter" 192 android:layout_width="fill_parent" 193 android:layout_height="fill_parent" 194 android:layout_weight="1.0" /> 195 <TextView android:id="@+id/waveformMax" 196 android:layout_width="fill_parent" 197 android:layout_height="fill_parent" 198 android:layout_weight="1.0" /> 199 200 </LinearLayout> 201 202 </LinearLayout> 203 204 <ImageView 205 android:src="@android:drawable/divider_horizontal_dark" 206 android:layout_width="fill_parent" 207 android:layout_height="wrap_content" 208 android:scaleType="fitXY"/> 209 210 <LinearLayout 211 android:layout_width="fill_parent" 212 android:layout_height="wrap_content" 213 android:gravity="center_horizontal" 214 android:orientation="vertical" 215 android:layout_marginLeft="10dip" 216 android:layout_marginTop="10dip" 217 android:layout_marginRight="10dip" 218 android:layout_marginBottom="10dip" 219 > 220 221 <TextView android:id="@+id/fftName" 222 android:layout_width="fill_parent" 223 android:layout_height="wrap_content" 224 android:text="@string/fft_name" /> 225 226 <LinearLayout android:id="@+id/eqParam1Desc" 227 android:orientation="horizontal" 228 android:layout_width="fill_parent" 229 android:layout_height="wrap_content" 230 android:layout_marginLeft="10dip" 231 android:layout_marginTop="10dip" 232 android:layout_marginRight="10dip" 233 android:layout_marginBottom="10dip" > 234 235 <TextView android:id="@+id/fftMin" 236 android:layout_width="fill_parent" 237 android:layout_height="fill_parent" 238 android:layout_weight="1.0" /> 239 <TextView android:id="@+id/fftCenter" 240 android:layout_width="fill_parent" 241 android:layout_height="fill_parent" 242 android:layout_weight="1.0" /> 243 <TextView android:id="@+id/fftMax" 244 android:layout_width="fill_parent" 245 android:layout_height="fill_parent" 246 android:layout_weight="1.0" /> 247 248 </LinearLayout> 249 250 </LinearLayout> 251 252 <ImageView 253 android:src="@android:drawable/divider_horizontal_dark" 254 android:layout_width="fill_parent" 255 android:layout_height="wrap_content" 256 android:scaleType="fitXY"/> 257 258 259 </LinearLayout> 260 261 </ScrollView> 262 263</LinearLayout> 264