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/eqReleaseLayout"
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/eqReleaseText"
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/eqReleaseButton"
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/eqControlLayout"
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/eqControlText"
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/equalizerOnOff"
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    <ScrollView
123        android:layout_width="fill_parent"
124        android:layout_height="wrap_content" >
125
126        <LinearLayout
127            android:layout_width="fill_parent"
128            android:layout_height="wrap_content"
129            android:orientation="vertical">
130
131            <LinearLayout
132                android:layout_width="fill_parent"
133                android:layout_height="wrap_content"
134                android:gravity="center_horizontal"
135                android:orientation="vertical"
136                android:layout_marginLeft="10dip"
137                android:layout_marginTop="10dip"
138                android:layout_marginRight="10dip"
139                android:layout_marginBottom="10dip"
140                >
141
142                <TextView android:id="@+id/eqParam1Name"
143                    android:layout_width="fill_parent"
144                    android:layout_height="wrap_content"
145                    android:text="@string/eq_param_1_name" />
146
147                <LinearLayout android:id="@+id/eqParam1Desc"
148                    android:orientation="horizontal"
149                    android:layout_width="fill_parent"
150                    android:layout_height="wrap_content"
151                    android:layout_marginLeft="10dip"
152                    android:layout_marginTop="10dip"
153                    android:layout_marginRight="10dip"
154                    android:layout_marginBottom="10dip" >
155
156                    <TextView android:id="@+id/eqParam1Min"
157                        android:layout_width="fill_parent"
158                        android:layout_height="fill_parent"
159                        android:layout_weight="1.0" />
160                    <TextView android:id="@+id/eqParam1Center"
161                        android:layout_width="fill_parent"
162                        android:layout_height="fill_parent"
163                        android:layout_weight="1.0" />
164                    <TextView android:id="@+id/eqParam1Max"
165                        android:layout_width="fill_parent"
166                        android:layout_height="fill_parent"
167                        android:layout_weight="1.0" />
168                </LinearLayout>
169
170                <SeekBar android:id="@+id/eqParam1SeekBar"
171                    android:layout_width="fill_parent"
172                    android:layout_height="wrap_content"
173                    android:max="100"
174                    android:progress="50"
175                    android:layout_marginLeft="10dip"
176                    android:layout_marginRight="30dip" />
177
178                <TextView android:id="@+id/eqParam1Value"
179                    android:layout_width="fill_parent"
180                    android:layout_height="wrap_content" />
181
182            </LinearLayout>
183
184            <ImageView
185                 android:src="@android:drawable/divider_horizontal_dark"
186                 android:layout_width="fill_parent"
187                 android:layout_height="wrap_content"
188                 android:scaleType="fitXY"/>
189
190            <LinearLayout
191                android:layout_width="fill_parent"
192                android:layout_height="wrap_content"
193                android:gravity="center_horizontal"
194                android:orientation="vertical"
195                android:layout_marginLeft="10dip"
196                android:layout_marginTop="10dip"
197                android:layout_marginRight="10dip"
198                android:layout_marginBottom="10dip"
199                >
200
201                <TextView android:id="@+id/eqParam2Name"
202                    android:layout_width="fill_parent"
203                    android:layout_height="wrap_content"
204                    android:text="@string/eq_param_2_name" />
205
206                <LinearLayout android:id="@+id/eqParam2Desc"
207                    android:orientation="horizontal"
208                    android:layout_width="fill_parent"
209                    android:layout_height="wrap_content"
210                    android:layout_marginLeft="10dip"
211                    android:layout_marginTop="10dip"
212                    android:layout_marginRight="10dip"
213                    android:layout_marginBottom="10dip" >
214
215                    <TextView android:id="@+id/eqParam2Min"
216                        android:layout_width="fill_parent"
217                        android:layout_height="fill_parent"
218                        android:layout_weight="1.0" />
219                    <TextView android:id="@+id/eqParam2Center"
220                        android:layout_width="fill_parent"
221                        android:layout_height="fill_parent"
222                        android:layout_weight="1.0" />
223                    <TextView android:id="@+id/eqParam2Max"
224                        android:layout_width="fill_parent"
225                        android:layout_height="fill_parent"
226                        android:layout_weight="1.0" />
227
228                </LinearLayout>
229
230                <SeekBar android:id="@+id/eqParam2SeekBar"
231                    android:layout_width="fill_parent"
232                    android:layout_height="wrap_content"
233                    android:max="100"
234                    android:progress="50"
235                    android:layout_marginLeft="10dip"
236                    android:layout_marginRight="30dip" />
237
238                <TextView android:id="@+id/eqParam2Value"
239                    android:layout_width="fill_parent"
240                    android:layout_height="wrap_content" />
241
242            </LinearLayout>
243
244            <ImageView
245                 android:src="@android:drawable/divider_horizontal_dark"
246                 android:layout_width="fill_parent"
247                 android:layout_height="wrap_content"
248                 android:scaleType="fitXY"/>
249
250            <LinearLayout
251                android:layout_width="fill_parent"
252                android:layout_height="wrap_content"
253                android:gravity="center_horizontal"
254                android:orientation="vertical"
255                android:layout_marginLeft="10dip"
256                android:layout_marginTop="10dip"
257                android:layout_marginRight="10dip"
258                android:layout_marginBottom="10dip"
259                >
260
261                <TextView android:id="@+id/eqParam3Name"
262                    android:layout_width="fill_parent"
263                    android:layout_height="wrap_content"
264                    android:text="@string/eq_param_3_name" />
265
266                <LinearLayout android:id="@+id/eqParam3Desc"
267                    android:orientation="horizontal"
268                    android:layout_width="fill_parent"
269                    android:layout_height="wrap_content"
270                    android:layout_marginLeft="10dip"
271                    android:layout_marginTop="10dip"
272                    android:layout_marginRight="10dip"
273                    android:layout_marginBottom="10dip" >
274
275                    <TextView android:id="@+id/eqParam3Min"
276                        android:layout_width="fill_parent"
277                        android:layout_height="fill_parent"
278                        android:layout_weight="1.0" />
279                    <TextView android:id="@+id/eqParam3Center"
280                        android:layout_width="fill_parent"
281                        android:layout_height="fill_parent"
282                        android:layout_weight="1.0" />
283                    <TextView android:id="@+id/eqParam3Max"
284                        android:layout_width="fill_parent"
285                        android:layout_height="fill_parent"
286                        android:layout_weight="1.0" />
287
288                </LinearLayout>
289
290                <SeekBar android:id="@+id/eqParam3SeekBar"
291                    android:layout_width="fill_parent"
292                    android:layout_height="wrap_content"
293                    android:max="100"
294                    android:progress="50"
295                    android:layout_marginLeft="10dip"
296                    android:layout_marginRight="30dip" />
297
298                <TextView android:id="@+id/eqParam3Value"
299                    android:layout_width="fill_parent"
300                    android:layout_height="wrap_content" />
301
302            </LinearLayout>
303
304            <ImageView
305                 android:src="@android:drawable/divider_horizontal_dark"
306                 android:layout_width="fill_parent"
307                 android:layout_height="wrap_content"
308                 android:scaleType="fitXY"/>
309
310            <LinearLayout
311                android:layout_width="fill_parent"
312                android:layout_height="wrap_content"
313                android:gravity="center_horizontal"
314                android:orientation="vertical"
315                android:layout_marginLeft="10dip"
316                android:layout_marginTop="10dip"
317                android:layout_marginRight="10dip"
318                android:layout_marginBottom="10dip"
319                >
320
321                <TextView android:id="@+id/eqParam4Name"
322                    android:layout_width="fill_parent"
323                    android:layout_height="wrap_content"
324                    android:text="@string/eq_param_4_name" />
325
326                <LinearLayout android:id="@+id/eqParam4Desc"
327                    android:orientation="horizontal"
328                    android:layout_width="fill_parent"
329                    android:layout_height="wrap_content"
330                    android:layout_marginLeft="10dip"
331                    android:layout_marginTop="10dip"
332                    android:layout_marginRight="10dip"
333                    android:layout_marginBottom="10dip" >
334
335                    <TextView android:id="@+id/eqParam4Min"
336                        android:layout_width="fill_parent"
337                        android:layout_height="fill_parent"
338                        android:layout_weight="1.0" />
339                    <TextView android:id="@+id/eqParam4Center"
340                        android:layout_width="fill_parent"
341                        android:layout_height="fill_parent"
342                        android:layout_weight="1.0" />
343                    <TextView android:id="@+id/eqParam4Max"
344                        android:layout_width="fill_parent"
345                        android:layout_height="fill_parent"
346                        android:layout_weight="1.0" />
347
348                </LinearLayout>
349
350                <SeekBar android:id="@+id/eqParam4SeekBar"
351                    android:layout_width="fill_parent"
352                    android:layout_height="wrap_content"
353                    android:max="100"
354                    android:progress="50"
355                    android:layout_marginLeft="10dip"
356                    android:layout_marginRight="30dip" />
357
358                <TextView android:id="@+id/eqParam4Value"
359                    android:layout_width="fill_parent"
360                    android:layout_height="wrap_content" />
361
362            </LinearLayout>
363
364            <ImageView
365                 android:src="@android:drawable/divider_horizontal_dark"
366                 android:layout_width="fill_parent"
367                 android:layout_height="wrap_content"
368                 android:scaleType="fitXY"/>
369
370            <LinearLayout
371                android:layout_width="fill_parent"
372                android:layout_height="wrap_content"
373                android:gravity="center_horizontal"
374                android:orientation="vertical"
375                android:layout_marginLeft="10dip"
376                android:layout_marginTop="10dip"
377                android:layout_marginRight="10dip"
378                android:layout_marginBottom="10dip"
379                >
380
381                <TextView android:id="@+id/eqParam5Name"
382                    android:layout_width="fill_parent"
383                    android:layout_height="wrap_content"
384                    android:text="@string/eq_param_5_name" />
385
386                <LinearLayout android:id="@+id/eqParam5Desc"
387                    android:orientation="horizontal"
388                    android:layout_width="fill_parent"
389                    android:layout_height="wrap_content"
390                    android:layout_marginLeft="10dip"
391                    android:layout_marginTop="10dip"
392                    android:layout_marginRight="10dip"
393                    android:layout_marginBottom="10dip" >
394
395                    <TextView android:id="@+id/eqParam5Min"
396                        android:layout_width="fill_parent"
397                        android:layout_height="fill_parent"
398                        android:layout_weight="1.0" />
399                    <TextView android:id="@+id/eqParam5Center"
400                        android:layout_width="fill_parent"
401                        android:layout_height="fill_parent"
402                        android:layout_weight="1.0" />
403                    <TextView android:id="@+id/eqParam5Max"
404                        android:layout_width="fill_parent"
405                        android:layout_height="fill_parent"
406                        android:layout_weight="1.0" />
407
408                </LinearLayout>
409
410                <SeekBar android:id="@+id/eqParam5SeekBar"
411                    android:layout_width="fill_parent"
412                    android:layout_height="wrap_content"
413                    android:max="100"
414                    android:progress="50"
415                    android:layout_marginLeft="10dip"
416                    android:layout_marginRight="30dip" />
417
418                <TextView android:id="@+id/eqParam5Value"
419                    android:layout_width="fill_parent"
420                    android:layout_height="wrap_content" />
421
422            </LinearLayout>
423
424                        <ImageView
425                 android:src="@android:drawable/divider_horizontal_dark"
426                 android:layout_width="fill_parent"
427                 android:layout_height="wrap_content"
428                 android:scaleType="fitXY"/>
429
430            <LinearLayout
431                android:layout_width="fill_parent"
432                android:layout_height="wrap_content"
433                android:gravity="center_horizontal"
434                android:orientation="vertical"
435                android:layout_marginLeft="10dip"
436                android:layout_marginTop="10dip"
437                android:layout_marginRight="10dip"
438                android:layout_marginBottom="10dip"
439                >
440
441                <TextView android:id="@+id/eqParam6Name"
442                    android:layout_width="fill_parent"
443                    android:layout_height="wrap_content"
444                    android:text="@string/eq_param_6_name" />
445
446                <SeekBar android:id="@+id/eqParam6SeekBar"
447                    android:layout_width="fill_parent"
448                    android:layout_height="wrap_content"
449                    android:max="100"
450                    android:progress="50"
451                    android:layout_marginLeft="10dip"
452                    android:layout_marginRight="30dip" />
453
454                <TextView android:id="@+id/eqParam6Value"
455                    android:layout_width="fill_parent"
456                    android:layout_height="wrap_content" />
457
458            </LinearLayout>
459
460            <ImageView
461                 android:src="@android:drawable/divider_horizontal_dark"
462                 android:layout_width="fill_parent"
463                 android:layout_height="wrap_content"
464                 android:scaleType="fitXY"/>
465
466        </LinearLayout>
467
468    </ScrollView>
469
470</LinearLayout>
471