/[svn]/jsampler/trunk/android/res/layout/sampler_channel.xml
ViewVC logotype

Contents of /jsampler/trunk/android/res/layout/sampler_channel.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2302 - (show annotations) (download) (as text)
Thu Dec 15 23:13:30 2011 UTC (7 years, 10 months ago) by iliev
File MIME type: text/xml
File size: 6412 byte(s)
* Initial support for Android platforms (only sampler channel
  manipulation for now - see the screenshots on the website)

1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:orientation="vertical" >
6
7 <TextView
8 android:id="@+id/sampler_channel_title"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:layout_gravity="center"
12 android:text="Channel 1"
13 android:textAppearance="?android:attr/textAppearanceMedium" />
14
15 <View
16 android:layout_width="match_parent"
17 android:layout_height="2dp"
18 android:background="@drawable/divider_gradient" />
19
20 <LinearLayout
21 android:paddingTop="5dp"
22 android:paddingBottom="5dp"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content" >
25
26 <ImageView
27 android:paddingLeft="3dp"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_gravity="center"
31 android:src="@drawable/ic_volume" />
32
33 <SeekBar
34 android:paddingLeft="18dp"
35 android:paddingRight="18dp"
36 android:id="@+id/sampler_channel_slider_volume"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:layout_weight="1" />
40
41 <TextView
42 android:id="@+id/sampler_channel_text_volume"
43 android:layout_width="65dp"
44 android:layout_height="wrap_content"
45 android:layout_gravity="center"
46 android:gravity="left"
47 android:text="3 dB" />
48
49 </LinearLayout>
50
51 <include layout="@layout/divider_section" />
52
53 <LinearLayout
54 android:paddingTop="3dp"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content" >
57
58 <Button
59 android:id="@+id/sampler_channel_btn_instrument"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:text="Load Instrument..."
63 android:layout_gravity="center_vertical"
64 android:layout_weight="1" />
65
66 </LinearLayout>
67
68 <TextView
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:paddingLeft="12dp"
72 android:paddingTop="7dp"
73 android:text="@string/sampler_channel_engine"
74 android:textStyle="bold" />
75
76 <include layout="@layout/divider_section" />
77
78 <LinearLayout
79 android:paddingTop="3dp"
80 android:layout_width="match_parent"
81 android:layout_height="wrap_content" >
82
83 <Spinner
84 android:id="@+id/sampler_channel_engine"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:layout_gravity="bottom"
88 android:layout_weight="1" />
89
90 <ToggleButton
91 android:id="@+id/sampler_channel_btn_mute"
92 android:layout_width="wrap_content"
93 android:layout_height="wrap_content"
94 android:layout_gravity="center_vertical"
95 android:textOn="M"
96 android:textOff="M" />
97
98 <ToggleButton
99 android:id="@+id/sampler_channel_btn_solo"
100 android:layout_width="wrap_content"
101 android:layout_height="wrap_content"
102 android:layout_gravity="center_vertical"
103 android:textOn="S"
104 android:textOff="S" />
105
106 </LinearLayout>
107
108 <TextView
109 android:paddingTop="7dp"
110 android:paddingLeft="12dp"
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:text="@string/sampler_channel_midi_input"
114 android:textStyle="bold" />
115
116 <include layout="@layout/divider_section" />
117
118 <LinearLayout
119 android:paddingTop="3dp"
120 android:layout_width="match_parent"
121 android:layout_height="wrap_content" >
122
123 <Spinner
124 android:id="@+id/sampler_channel_midi_device"
125 android:layout_width="wrap_content"
126 android:layout_height="wrap_content"
127 android:layout_weight="1" />
128
129 <Spinner
130 android:id="@+id/sampler_channel_midi_port"
131 android:layout_width="wrap_content"
132 android:layout_height="wrap_content"
133 android:layout_weight="1" />
134
135 <Spinner
136 android:id="@+id/sampler_channel_midi_channel"
137 android:layout_width="wrap_content"
138 android:layout_height="wrap_content"
139 android:layout_weight="1" />
140
141 </LinearLayout>
142
143 <TextView
144 android:paddingTop="7dp"
145 android:paddingLeft="12dp"
146 android:layout_width="wrap_content"
147 android:layout_height="wrap_content"
148 android:text="@string/sampler_channel_midi_map"
149 android:textStyle="bold" />
150
151 <include layout="@layout/divider_section" />
152
153 <View
154 android:layout_width="match_parent"
155 android:layout_height="3dp" />
156
157 <Spinner
158 android:id="@+id/sampler_channel_midi_map"
159 android:layout_width="match_parent"
160 android:layout_height="wrap_content" />
161
162 <TextView
163 android:paddingTop="7dp"
164 android:paddingLeft="12dp"
165 android:layout_width="wrap_content"
166 android:layout_height="wrap_content"
167 android:text="@string/sampler_channel_audio_output"
168 android:textStyle="bold" />
169
170 <include layout="@layout/divider_section" />
171
172 <LinearLayout
173 android:paddingTop="3dp"
174 android:layout_width="match_parent"
175 android:layout_height="wrap_content" >
176
177 <Spinner
178 android:id="@+id/sampler_channel_audio_device"
179 android:layout_width="wrap_content"
180 android:layout_height="wrap_content"
181 android:layout_gravity="bottom"
182 android:layout_weight="1" />
183
184 <Button
185 android:id="@+id/sampler_channel_btn_fx_sends"
186 android:layout_width="wrap_content"
187 android:layout_height="wrap_content"
188 android:text="FX Sends" />
189
190 <Button
191 android:id="@+id/sampler_channel_btn_cr"
192 android:layout_width="wrap_content"
193 android:layout_height="wrap_content"
194 android:text="CR" />
195
196 </LinearLayout>
197
198 </LinearLayout>

  ViewVC Help
Powered by ViewVC