presetreverbtest.xml revision 2e2beaaee2a427598ced5067fc59f3ae9a98cf35
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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/presetrvbReleaseLayout"
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/presetrvbReleaseText"
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/presetrvbReleaseButton"
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/presetrvbControlLayout"
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/presetrvbControlText"
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/presetrvbOnOff"
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:layout_width="fill_parent"
109            android:layout_height="wrap_content"
110            android:layout_weight="0.5"
111            android:layout_gravity="center_vertical|right" />
112    </LinearLayout>
113
114  <ImageView
115       android:src="@android:drawable/divider_horizontal_dark"
116       android:layout_width="fill_parent"
117       android:layout_height="wrap_content"
118       android:scaleType="fitXY"/>
119
120    <ScrollView
121        android:layout_width="fill_parent"
122        android:layout_height="wrap_content" >
123
124        <LinearLayout
125            android:layout_width="fill_parent"
126            android:layout_height="wrap_content"
127            android:orientation="vertical">
128
129
130            <ImageView
131                 android:src="@android:drawable/divider_horizontal_dark"
132                 android:layout_width="fill_parent"
133                 android:layout_height="wrap_content"
134                 android:scaleType="fitXY"/>
135
136
137        <LinearLayout
138            android:layout_width="fill_parent"
139            android:layout_height="wrap_content"
140            android:gravity="center_horizontal"
141            android:orientation="vertical"
142            android:layout_marginLeft="10dip"
143            android:layout_marginTop="10dip"
144            android:layout_marginRight="10dip"
145            android:layout_marginBottom="10dip"
146            >
147
148            <TextView android:id="@+id/presetrvbParam1Name"
149                android:layout_width="fill_parent"
150                android:layout_height="wrap_content"
151                android:text="@string/presetrvb_param_1_name" />
152
153            <SeekBar android:id="@+id/presetrvbParam1SeekBar"
154                android:layout_width="fill_parent"
155                android:layout_height="wrap_content"
156                android:max="100"
157                android:progress="50"
158                android:layout_marginLeft="10dip"
159                android:layout_marginRight="30dip" />
160
161            <TextView android:id="@+id/presetrvbParam1Value"
162                android:layout_width="fill_parent"
163                android:layout_height="wrap_content" />
164
165        </LinearLayout>
166
167        <ImageView
168             android:src="@android:drawable/divider_horizontal_dark"
169             android:layout_width="fill_parent"
170             android:layout_height="wrap_content"
171             android:scaleType="fitXY"/>
172
173        </LinearLayout>
174
175    </ScrollView>
176
177</LinearLayout>
178