• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3    xmlns:app="http://schemas.android.com/apk/res-auto"
4    xmlns:tools="http://schemas.android.com/tools"
5    android:layout_width="match_parent"
6    android:layout_height="wrap_content"
7    android:orientation="vertical"
8    tools:context="com.plausiblesoftware.drumthumper.DrumThumperActivity">
9
10    <LinearLayout
11        android:layout_width="match_parent"
12        android:layout_height="128dp"
13        android:orientation="horizontal">
14
15        <LinearLayout
16            android:layout_width="wrap_content"
17            android:layout_height="128dp"
18            android:layout_weight=".5"
19            android:orientation="vertical">
20
21            <com.plausiblesoftware.drumthumper.TriggerPad
22                android:id="@+id/kickPad"
23                android:layout_width="match_parent"
24                android:layout_height="match_parent"
25                android:layout_weight="1"
26                android:padding="5dp"
27                android:text="Kick" />
28
29            <LinearLayout
30                android:layout_width="match_parent"
31                android:layout_height="wrap_content"
32                android:orientation="vertical"
33                android:id="@+id/kickMixControls">
34                <LinearLayout
35                    android:layout_width="match_parent"
36                    android:layout_height="wrap_content"
37                    android:orientation="horizontal">
38
39                    <TextView
40                        android:layout_width="wrap_content"
41                        android:layout_height="wrap_content"
42                        android:text="P:"/>
43
44                    <SeekBar
45                        android:id="@+id/kickPan"
46                        style="@android:style/Widget.DeviceDefault.SeekBar"
47                        android:layout_width="match_parent"
48                        android:layout_height="20dp"
49                        android:layout_marginTop="5dp"
50                        android:max="200" />
51                </LinearLayout>
52
53                <LinearLayout
54                    android:layout_width="match_parent"
55                    android:layout_height="wrap_content"
56                    android:orientation="horizontal">
57
58                    <TextView
59                        android:layout_width="wrap_content"
60                        android:layout_height="wrap_content"
61                        android:text="G:"/>
62
63                    <SeekBar
64                        android:id="@+id/kickGain"
65                        style="@android:style/Widget.DeviceDefault.SeekBar"
66                        android:layout_width="match_parent"
67                        android:layout_height="20dp"
68                        android:layout_marginTop="5dp"
69                        android:max="200" />
70                </LinearLayout>
71
72                <Button
73                    android:id="@+id/kickLoopBtn"
74                    android:layout_width="wrap_content"
75                    android:layout_height="wrap_content"
76                    android:layout_gravity="center"
77                    android:layout_marginTop="5dp"
78                    android:minHeight="0dp"
79                    android:minWidth="0dp"
80                    android:padding="0dp"
81                    android:text="Loop"
82                    android:textSize="12sp"
83                    android:layout_marginStart="60dp"
84                    android:layout_marginEnd="60dp"/>
85            </LinearLayout>
86        </LinearLayout>
87
88        <LinearLayout
89            android:layout_width="wrap_content"
90            android:layout_height="128dp"
91            android:layout_weight=".5"
92            android:orientation="vertical">
93
94            <com.plausiblesoftware.drumthumper.TriggerPad
95                android:id="@+id/snarePad"
96                android:layout_width="wrap_content"
97                android:layout_height="match_parent"
98                android:layout_weight="1"
99                android:padding="5dp"
100                android:text="Snare" />
101
102            <LinearLayout
103                android:layout_width="match_parent"
104                android:layout_height="wrap_content"
105                android:orientation="vertical"
106                android:id="@+id/snareMixControls">
107                <LinearLayout
108                    android:layout_width="match_parent"
109                    android:layout_height="wrap_content"
110                    android:orientation="horizontal">
111
112                    <TextView
113                        android:layout_width="wrap_content"
114                        android:layout_height="wrap_content"
115                        android:text="P:"/>
116
117                    <SeekBar
118                        android:id="@+id/snarePan"
119                        style="@android:style/Widget.DeviceDefault.SeekBar"
120                        android:layout_width="match_parent"
121                        android:layout_height="20dp"
122                        android:layout_marginTop="5dp"
123                        android:max="200" />
124                </LinearLayout>
125
126                <LinearLayout
127                    android:layout_width="match_parent"
128                    android:layout_height="wrap_content"
129                    android:orientation="horizontal">
130
131                    <TextView
132                        android:layout_width="wrap_content"
133                        android:layout_height="wrap_content"
134                        android:text="G:"/>
135
136                    <SeekBar
137                        android:id="@+id/snareGain"
138                        style="@android:style/Widget.DeviceDefault.SeekBar"
139                        android:layout_width="match_parent"
140                        android:layout_height="20dp"
141                        android:layout_marginTop="5dp"
142                        android:max="200" />
143
144                </LinearLayout>
145
146                <Button
147                    android:id="@+id/snareLoopBtn"
148                    android:layout_width="wrap_content"
149                    android:layout_height="wrap_content"
150                    android:layout_gravity="center"
151                    android:layout_marginTop="5dp"
152                    android:minHeight="0dp"
153                    android:minWidth="0dp"
154                    android:padding="0dp"
155                    android:text="Loop"
156                    android:textSize="12sp"
157                    android:layout_marginStart="60dp"
158                    android:layout_marginEnd="60dp"/>
159            </LinearLayout>
160        </LinearLayout>
161    </LinearLayout>
162
163    <LinearLayout
164        android:layout_width="match_parent"
165        android:layout_height="128dp"
166        android:orientation="horizontal">
167
168        <LinearLayout
169            android:layout_width="wrap_content"
170            android:layout_height="128dp"
171            android:layout_weight=".5"
172            android:orientation="vertical">
173
174            <com.plausiblesoftware.drumthumper.TriggerPad
175                android:id="@+id/hihatOpenPad"
176                android:layout_width="match_parent"
177                android:layout_height="match_parent"
178                android:layout_weight="1"
179                android:padding="5dp"
180                android:text="Open Hat" />
181
182            <LinearLayout
183                android:layout_width="match_parent"
184                android:layout_height="wrap_content"
185                android:orientation="vertical"
186                android:id="@+id/hihatOpenMixControls">
187                <LinearLayout
188                    android:layout_width="match_parent"
189                    android:layout_height="wrap_content"
190                    android:orientation="horizontal">
191
192                    <TextView
193                        android:layout_width="wrap_content"
194                        android:layout_height="wrap_content"
195                        android:text="P:"/>
196
197                    <SeekBar
198                        android:id="@+id/hihatOpenPan"
199                        style="@android:style/Widget.DeviceDefault.SeekBar"
200                        android:layout_width="match_parent"
201                        android:layout_height="20dp"
202                        android:layout_marginTop="5dp"
203                        android:max="200" />
204                </LinearLayout>
205
206                <LinearLayout
207                    android:layout_width="match_parent"
208                    android:layout_height="wrap_content"
209                    android:orientation="horizontal">
210
211                    <TextView
212                        android:layout_width="wrap_content"
213                        android:layout_height="wrap_content"
214                        android:text="G:"/>
215
216                    <SeekBar
217                        android:id="@+id/hihatOpenGain"
218                        style="@android:style/Widget.DeviceDefault.SeekBar"
219                        android:layout_width="match_parent"
220                        android:layout_height="20dp"
221                        android:layout_marginTop="5dp"
222                        android:max="200" />
223                </LinearLayout>
224
225                <Button
226                    android:id="@+id/hihatOpenLoopBtn"
227                    android:layout_width="wrap_content"
228                    android:layout_height="wrap_content"
229                    android:layout_gravity="center"
230                    android:layout_marginTop="5dp"
231                    android:minHeight="0dp"
232                    android:minWidth="0dp"
233                    android:padding="0dp"
234                    android:text="Loop"
235                    android:textSize="12sp"
236                    android:layout_marginStart="60dp"
237                    android:layout_marginEnd="60dp"/>
238            </LinearLayout>
239        </LinearLayout>
240
241        <LinearLayout
242            android:layout_width="wrap_content"
243            android:layout_height="128dp"
244            android:layout_weight=".5"
245            android:orientation="vertical">
246
247            <com.plausiblesoftware.drumthumper.TriggerPad
248                android:id="@+id/hihatClosedPad"
249                android:layout_width="match_parent"
250                android:layout_height="match_parent"
251                android:layout_weight="1"
252                android:padding="5dp"
253                android:text="Closed Hat" />
254
255            <LinearLayout
256                android:layout_width="match_parent"
257                android:layout_height="wrap_content"
258                android:orientation="vertical"
259                android:id="@+id/hihatClosedMixControls">
260                <LinearLayout
261                    android:layout_width="match_parent"
262                    android:layout_height="wrap_content"
263                    android:orientation="horizontal">
264
265                    <TextView
266                        android:layout_width="wrap_content"
267                        android:layout_height="wrap_content"
268                        android:text="P:"/>
269
270                    <SeekBar
271                        android:id="@+id/hihatClosedPan"
272                        style="@android:style/Widget.DeviceDefault.SeekBar"
273                        android:layout_width="match_parent"
274                        android:layout_height="20dp"
275                        android:layout_marginTop="5dp"
276                        android:max="200" />
277                </LinearLayout>
278
279                <LinearLayout
280                    android:layout_width="match_parent"
281                    android:layout_height="wrap_content"
282                    android:orientation="horizontal">
283
284                    <TextView
285                        android:layout_width="wrap_content"
286                        android:layout_height="wrap_content"
287                        android:text="G:"/>
288
289                    <SeekBar
290                        android:id="@+id/hihatClosedGain"
291                        style="@android:style/Widget.DeviceDefault.SeekBar"
292                        android:layout_width="match_parent"
293                        android:layout_height="20dp"
294                        android:layout_marginTop="5dp"
295                        android:max="200" />
296                </LinearLayout>
297
298                <Button
299                    android:id="@+id/hihatClosedLoopBtn"
300                    android:layout_width="wrap_content"
301                    android:layout_height="wrap_content"
302                    android:layout_gravity="center"
303                    android:layout_marginTop="5dp"
304                    android:minHeight="0dp"
305                    android:minWidth="0dp"
306                    android:padding="0dp"
307                    android:text="Loop"
308                    android:textSize="12sp"
309                    android:layout_marginStart="60dp"
310                    android:layout_marginEnd="60dp"/>
311            </LinearLayout>
312        </LinearLayout>
313    </LinearLayout>
314
315    <LinearLayout
316        android:layout_width="match_parent"
317        android:layout_height="128dp"
318        android:orientation="horizontal">
319
320        <LinearLayout
321            android:layout_width="wrap_content"
322            android:layout_height="128dp"
323            android:layout_weight=".5"
324            android:orientation="vertical">
325
326            <com.plausiblesoftware.drumthumper.TriggerPad
327                android:id="@+id/midTomPad"
328                android:layout_width="match_parent"
329                android:layout_height="match_parent"
330                android:layout_weight="1"
331                android:padding="5dp"
332                android:text="Mid Tom" />
333
334            <LinearLayout
335                android:layout_width="match_parent"
336                android:layout_height="wrap_content"
337                android:orientation="vertical"
338                android:id="@+id/midTomMixControls">
339                <LinearLayout
340                    android:layout_width="match_parent"
341                    android:layout_height="wrap_content"
342                    android:orientation="horizontal">
343
344                    <TextView
345                        android:layout_width="wrap_content"
346                        android:layout_height="wrap_content"
347                        android:text="P:"/>
348
349                    <SeekBar
350                        android:id="@+id/midTomPan"
351                        style="@android:style/Widget.DeviceDefault.SeekBar"
352                        android:layout_width="match_parent"
353                        android:layout_height="20dp"
354                        android:layout_marginTop="5dp"
355                        android:max="200" />
356                </LinearLayout>
357
358                <LinearLayout
359                    android:layout_width="match_parent"
360                    android:layout_height="wrap_content"
361                    android:orientation="horizontal">
362
363                    <TextView
364                        android:layout_width="wrap_content"
365                        android:layout_height="wrap_content"
366                        android:text="G:"/>
367
368                    <SeekBar
369                        android:id="@+id/midTomGain"
370                        style="@android:style/Widget.DeviceDefault.SeekBar"
371                        android:layout_width="match_parent"
372                        android:layout_height="20dp"
373                        android:layout_marginTop="5dp"
374                        android:max="200" />
375                </LinearLayout>
376
377                <Button
378                    android:id="@+id/midTomLoopBtn"
379                    android:layout_width="wrap_content"
380                    android:layout_height="wrap_content"
381                    android:layout_gravity="center"
382                    android:layout_marginTop="5dp"
383                    android:minHeight="0dp"
384                    android:minWidth="0dp"
385                    android:padding="0dp"
386                    android:text="Loop"
387                    android:textSize="12sp"
388                    android:layout_marginStart="60dp"
389                    android:layout_marginEnd="60dp"/>
390            </LinearLayout>
391        </LinearLayout>
392
393        <LinearLayout
394            android:layout_width="wrap_content"
395            android:layout_height="128dp"
396            android:layout_weight=".5"
397            android:orientation="vertical">
398
399            <com.plausiblesoftware.drumthumper.TriggerPad
400                android:id="@+id/lowTomPad"
401                android:layout_width="match_parent"
402                android:layout_height="match_parent"
403                android:layout_weight="1"
404                android:padding="5dp"
405                android:text="Low Tom" />
406
407            <LinearLayout
408                android:layout_width="match_parent"
409                android:layout_height="wrap_content"
410                android:orientation="vertical"
411                android:id="@+id/lowTomMixControls">
412                <LinearLayout
413                    android:layout_width="match_parent"
414                    android:layout_height="wrap_content"
415                    android:orientation="horizontal">
416
417                    <TextView
418                        android:layout_width="wrap_content"
419                        android:layout_height="wrap_content"
420                        android:text="P:"/>
421
422                    <SeekBar
423                        android:id="@+id/lowTomPan"
424                        style="@android:style/Widget.DeviceDefault.SeekBar"
425                        android:layout_width="match_parent"
426                        android:layout_height="20dp"
427                        android:layout_marginTop="5dp"
428                        android:max="200" />
429                </LinearLayout>
430
431                <LinearLayout
432                    android:layout_width="match_parent"
433                    android:layout_height="wrap_content"
434                    android:orientation="horizontal">
435
436                    <TextView
437                        android:layout_width="wrap_content"
438                        android:layout_height="wrap_content"
439                        android:text="G:"/>
440
441                    <SeekBar
442                        android:id="@+id/lowTomGain"
443                        style="@android:style/Widget.DeviceDefault.SeekBar"
444                        android:layout_width="match_parent"
445                        android:layout_height="20dp"
446                        android:layout_marginTop="5dp"
447                        android:max="200" />
448                </LinearLayout>
449
450                <Button
451                    android:id="@+id/lowTomLoopBtn"
452                    android:layout_width="wrap_content"
453                    android:layout_height="wrap_content"
454                    android:layout_gravity="center"
455                    android:layout_marginTop="5dp"
456                    android:minHeight="0dp"
457                    android:minWidth="0dp"
458                    android:padding="0dp"
459                    android:text="Loop"
460                    android:textSize="12sp"
461                    android:layout_marginStart="60dp"
462                    android:layout_marginEnd="60dp"/>
463            </LinearLayout>
464        </LinearLayout>
465    </LinearLayout>
466
467    <LinearLayout
468        android:layout_width="match_parent"
469        android:layout_height="128dp"
470        android:orientation="horizontal">
471
472        <LinearLayout
473            android:layout_width="wrap_content"
474            android:layout_height="128dp"
475            android:layout_weight=".5"
476            android:orientation="vertical">
477
478            <com.plausiblesoftware.drumthumper.TriggerPad
479                android:id="@+id/ridePad"
480                android:layout_width="match_parent"
481                android:layout_height="match_parent"
482                android:layout_weight="1"
483                android:padding="5dp"
484                android:text="Ride" />
485
486            <LinearLayout
487                android:layout_width="match_parent"
488                android:layout_height="wrap_content"
489                android:orientation="vertical"
490                android:id="@+id/rideMixControls">
491                <LinearLayout
492                    android:layout_width="match_parent"
493                    android:layout_height="wrap_content"
494                    android:orientation="horizontal">
495
496                    <TextView
497                        android:layout_width="wrap_content"
498                        android:layout_height="wrap_content"
499                        android:text="P:"/>
500
501                    <SeekBar
502                        android:id="@+id/ridePan"
503                        style="@android:style/Widget.DeviceDefault.SeekBar"
504                        android:layout_width="match_parent"
505                        android:layout_height="20dp"
506                        android:layout_marginTop="5dp"
507                        android:max="200" />
508                </LinearLayout>
509
510                <LinearLayout
511                    android:layout_width="match_parent"
512                    android:layout_height="wrap_content"
513                    android:orientation="horizontal">
514
515                    <TextView
516                        android:layout_width="wrap_content"
517                        android:layout_height="wrap_content"
518                        android:text="G:"/>
519
520                    <SeekBar
521                        android:id="@+id/rideGain"
522                        style="@android:style/Widget.DeviceDefault.SeekBar"
523                        android:layout_width="match_parent"
524                        android:layout_height="20dp"
525                        android:layout_marginTop="5dp"
526                        android:max="200" />
527                </LinearLayout>
528
529                <Button
530                    android:id="@+id/rideLoopBtn"
531                    android:layout_width="wrap_content"
532                    android:layout_height="wrap_content"
533                    android:layout_gravity="center"
534                    android:layout_marginTop="5dp"
535                    android:minHeight="0dp"
536                    android:minWidth="0dp"
537                    android:padding="0dp"
538                    android:text="Loop"
539                    android:textSize="12sp"
540                    android:layout_marginStart="60dp"
541                    android:layout_marginEnd="60dp"/>
542            </LinearLayout>
543        </LinearLayout>
544
545        <LinearLayout
546            android:layout_width="wrap_content"
547            android:layout_height="128dp"
548            android:layout_weight=".5"
549            android:orientation="vertical">
550
551            <com.plausiblesoftware.drumthumper.TriggerPad
552                android:id="@+id/crashPad"
553                android:layout_width="match_parent"
554                android:layout_height="match_parent"
555                android:layout_weight="1"
556                android:padding="5dp"
557                android:text="Crash" />
558
559            <LinearLayout
560                android:layout_width="match_parent"
561                android:layout_height="wrap_content"
562                android:orientation="vertical"
563                android:id="@+id/crashMixControls">
564                <LinearLayout
565                    android:layout_width="match_parent"
566                    android:layout_height="wrap_content"
567                    android:orientation="horizontal">
568
569                    <TextView
570                        android:layout_width="wrap_content"
571                        android:layout_height="wrap_content"
572                        android:text="P:"/>
573
574                    <SeekBar
575                        android:id="@+id/crashPan"
576                        style="@android:style/Widget.DeviceDefault.SeekBar"
577                        android:layout_width="match_parent"
578                        android:layout_height="20dp"
579                        android:layout_marginTop="5dp"
580                        android:max="200" />
581                </LinearLayout>
582
583                <LinearLayout
584                    android:layout_width="match_parent"
585                    android:layout_height="wrap_content"
586                    android:orientation="horizontal">
587
588                    <TextView
589                        android:layout_width="wrap_content"
590                        android:layout_height="wrap_content"
591                        android:text="G:"/>
592
593                    <SeekBar
594                        android:id="@+id/crashGain"
595                        style="@android:style/Widget.DeviceDefault.SeekBar"
596                        android:layout_width="match_parent"
597                        android:layout_height="20dp"
598                        android:layout_marginTop="5dp"
599                        android:max="200" />
600                </LinearLayout>
601
602                <Button
603                    android:id="@+id/crashLoopBtn"
604                    android:layout_width="wrap_content"
605                    android:layout_height="wrap_content"
606                    android:layout_gravity="center"
607                    android:layout_marginTop="5dp"
608                    android:minHeight="0dp"
609                    android:minWidth="0dp"
610                    android:padding="0dp"
611                    android:text="Loop"
612                    android:textSize="12sp"
613                    android:layout_marginStart="60dp"
614                    android:layout_marginEnd="60dp"/>
615            </LinearLayout>
616        </LinearLayout>
617    </LinearLayout>
618    <Button
619        android:layout_width="match_parent"
620        android:layout_height="wrap_content"
621        android:text="Hide/Show Mix Controls"
622        android:id="@+id/mixCtrlBtn"/>
623</LinearLayout>
624