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 162 <LinearLayout 163 android:layout_width="wrap_content" 164 android:layout_height="128dp" 165 android:layout_weight=".5" 166 android:orientation="vertical"> 167 168 <com.plausiblesoftware.drumthumper.TriggerPad 169 android:id="@+id/hihatOpenPad" 170 android:layout_width="match_parent" 171 android:layout_height="match_parent" 172 android:layout_weight="1" 173 android:padding="5dp" 174 android:text="Open Hat" /> 175 176 <LinearLayout 177 android:layout_width="match_parent" 178 android:layout_height="wrap_content" 179 android:orientation="vertical" 180 android:id="@+id/hihatOpenMixControls"> 181 <LinearLayout 182 android:layout_width="match_parent" 183 android:layout_height="wrap_content" 184 android:orientation="horizontal"> 185 186 <TextView 187 android:layout_width="wrap_content" 188 android:layout_height="wrap_content" 189 android:text="P:"/> 190 191 <SeekBar 192 android:id="@+id/hihatOpenPan" 193 style="@android:style/Widget.DeviceDefault.SeekBar" 194 android:layout_width="match_parent" 195 android:layout_height="20dp" 196 android:layout_marginTop="5dp" 197 android:max="200" /> 198 </LinearLayout> 199 200 <LinearLayout 201 android:layout_width="match_parent" 202 android:layout_height="wrap_content" 203 android:orientation="horizontal"> 204 205 <TextView 206 android:layout_width="wrap_content" 207 android:layout_height="wrap_content" 208 android:text="G:"/> 209 210 <SeekBar 211 android:id="@+id/hihatOpenGain" 212 style="@android:style/Widget.DeviceDefault.SeekBar" 213 android:layout_width="match_parent" 214 android:layout_height="20dp" 215 android:layout_marginTop="5dp" 216 android:max="200" /> 217 </LinearLayout> 218 219 <Button 220 android:id="@+id/hihatOpenLoopBtn" 221 android:layout_width="wrap_content" 222 android:layout_height="wrap_content" 223 android:layout_gravity="center" 224 android:layout_marginTop="5dp" 225 android:minHeight="0dp" 226 android:minWidth="0dp" 227 android:padding="0dp" 228 android:text="Loop" 229 android:textSize="12sp" 230 android:layout_marginStart="60dp" 231 android:layout_marginEnd="60dp"/> 232 </LinearLayout> 233 </LinearLayout> 234 235 <LinearLayout 236 android:layout_width="wrap_content" 237 android:layout_height="128dp" 238 android:layout_weight=".5" 239 android:orientation="vertical"> 240 241 <com.plausiblesoftware.drumthumper.TriggerPad 242 android:id="@+id/hihatClosedPad" 243 android:layout_width="match_parent" 244 android:layout_height="match_parent" 245 android:layout_weight="1" 246 android:padding="5dp" 247 android:text="Closed Hat" /> 248 249 <LinearLayout 250 android:layout_width="match_parent" 251 android:layout_height="wrap_content" 252 android:orientation="vertical" 253 android:id="@+id/hihatClosedMixControls"> 254 <LinearLayout 255 android:layout_width="match_parent" 256 android:layout_height="wrap_content" 257 android:orientation="horizontal"> 258 259 <TextView 260 android:layout_width="wrap_content" 261 android:layout_height="wrap_content" 262 android:text="P:"/> 263 264 <SeekBar 265 android:id="@+id/hihatClosedPan" 266 style="@android:style/Widget.DeviceDefault.SeekBar" 267 android:layout_width="match_parent" 268 android:layout_height="20dp" 269 android:layout_marginTop="5dp" 270 android:max="200" /> 271 </LinearLayout> 272 273 <LinearLayout 274 android:layout_width="match_parent" 275 android:layout_height="wrap_content" 276 android:orientation="horizontal"> 277 278 <TextView 279 android:layout_width="wrap_content" 280 android:layout_height="wrap_content" 281 android:text="G:"/> 282 283 <SeekBar 284 android:id="@+id/hihatClosedGain" 285 style="@android:style/Widget.DeviceDefault.SeekBar" 286 android:layout_width="match_parent" 287 android:layout_height="20dp" 288 android:layout_marginTop="5dp" 289 android:max="200" /> 290 </LinearLayout> 291 292 <Button 293 android:id="@+id/hihatClosedLoopBtn" 294 android:layout_width="wrap_content" 295 android:layout_height="wrap_content" 296 android:layout_gravity="center" 297 android:layout_marginTop="5dp" 298 android:minHeight="0dp" 299 android:minWidth="0dp" 300 android:padding="0dp" 301 android:text="Loop" 302 android:textSize="12sp" 303 android:layout_marginStart="60dp" 304 android:layout_marginEnd="60dp"/> 305 </LinearLayout> 306 </LinearLayout> 307 </LinearLayout> 308 309 <LinearLayout 310 android:layout_width="match_parent" 311 android:layout_height="128dp" 312 android:orientation="horizontal"> 313 314 <LinearLayout 315 android:layout_width="wrap_content" 316 android:layout_height="128dp" 317 android:layout_weight=".5" 318 android:orientation="vertical"> 319 320 <com.plausiblesoftware.drumthumper.TriggerPad 321 android:id="@+id/midTomPad" 322 android:layout_width="match_parent" 323 android:layout_height="match_parent" 324 android:layout_weight="1" 325 android:padding="5dp" 326 android:text="Mid Tom" /> 327 328 <LinearLayout 329 android:layout_width="match_parent" 330 android:layout_height="wrap_content" 331 android:orientation="vertical" 332 android:id="@+id/midTomMixControls"> 333 <LinearLayout 334 android:layout_width="match_parent" 335 android:layout_height="wrap_content" 336 android:orientation="horizontal"> 337 338 <TextView 339 android:layout_width="wrap_content" 340 android:layout_height="wrap_content" 341 android:text="P:"/> 342 343 <SeekBar 344 android:id="@+id/midTomPan" 345 style="@android:style/Widget.DeviceDefault.SeekBar" 346 android:layout_width="match_parent" 347 android:layout_height="20dp" 348 android:layout_marginTop="5dp" 349 android:max="200" /> 350 </LinearLayout> 351 352 <LinearLayout 353 android:layout_width="match_parent" 354 android:layout_height="wrap_content" 355 android:orientation="horizontal"> 356 357 <TextView 358 android:layout_width="wrap_content" 359 android:layout_height="wrap_content" 360 android:text="G:"/> 361 362 <SeekBar 363 android:id="@+id/midTomGain" 364 style="@android:style/Widget.DeviceDefault.SeekBar" 365 android:layout_width="match_parent" 366 android:layout_height="20dp" 367 android:layout_marginTop="5dp" 368 android:max="200" /> 369 </LinearLayout> 370 371 <Button 372 android:id="@+id/midTomLoopBtn" 373 android:layout_width="wrap_content" 374 android:layout_height="wrap_content" 375 android:layout_gravity="center" 376 android:layout_marginTop="5dp" 377 android:minHeight="0dp" 378 android:minWidth="0dp" 379 android:padding="0dp" 380 android:text="Loop" 381 android:textSize="12sp" 382 android:layout_marginStart="60dp" 383 android:layout_marginEnd="60dp"/> 384 </LinearLayout> 385 </LinearLayout> 386 387 <LinearLayout 388 android:layout_width="wrap_content" 389 android:layout_height="128dp" 390 android:layout_weight=".5" 391 android:orientation="vertical"> 392 393 <com.plausiblesoftware.drumthumper.TriggerPad 394 android:id="@+id/lowTomPad" 395 android:layout_width="match_parent" 396 android:layout_height="match_parent" 397 android:layout_weight="1" 398 android:padding="5dp" 399 android:text="Low Tom" /> 400 401 <LinearLayout 402 android:layout_width="match_parent" 403 android:layout_height="wrap_content" 404 android:orientation="vertical" 405 android:id="@+id/lowTomMixControls"> 406 <LinearLayout 407 android:layout_width="match_parent" 408 android:layout_height="wrap_content" 409 android:orientation="horizontal"> 410 411 <TextView 412 android:layout_width="wrap_content" 413 android:layout_height="wrap_content" 414 android:text="P:"/> 415 416 <SeekBar 417 android:id="@+id/lowTomPan" 418 style="@android:style/Widget.DeviceDefault.SeekBar" 419 android:layout_width="match_parent" 420 android:layout_height="20dp" 421 android:layout_marginTop="5dp" 422 android:max="200" /> 423 </LinearLayout> 424 425 <LinearLayout 426 android:layout_width="match_parent" 427 android:layout_height="wrap_content" 428 android:orientation="horizontal"> 429 430 <TextView 431 android:layout_width="wrap_content" 432 android:layout_height="wrap_content" 433 android:text="G:"/> 434 435 <SeekBar 436 android:id="@+id/lowTomGain" 437 style="@android:style/Widget.DeviceDefault.SeekBar" 438 android:layout_width="match_parent" 439 android:layout_height="20dp" 440 android:layout_marginTop="5dp" 441 android:max="200" /> 442 </LinearLayout> 443 444 <Button 445 android:id="@+id/lowTomLoopBtn" 446 android:layout_width="wrap_content" 447 android:layout_height="wrap_content" 448 android:layout_gravity="center" 449 android:layout_marginTop="5dp" 450 android:minHeight="0dp" 451 android:minWidth="0dp" 452 android:padding="0dp" 453 android:text="Loop" 454 android:textSize="12sp" 455 android:layout_marginStart="60dp" 456 android:layout_marginEnd="60dp"/> 457 </LinearLayout> 458 </LinearLayout> 459 460 <LinearLayout 461 android:layout_width="wrap_content" 462 android:layout_height="128dp" 463 android:layout_weight=".5" 464 android:orientation="vertical"> 465 466 <com.plausiblesoftware.drumthumper.TriggerPad 467 android:id="@+id/ridePad" 468 android:layout_width="match_parent" 469 android:layout_height="match_parent" 470 android:layout_weight="1" 471 android:padding="5dp" 472 android:text="Ride" /> 473 474 <LinearLayout 475 android:layout_width="match_parent" 476 android:layout_height="wrap_content" 477 android:orientation="vertical" 478 android:id="@+id/rideMixControls"> 479 <LinearLayout 480 android:layout_width="match_parent" 481 android:layout_height="wrap_content" 482 android:orientation="horizontal"> 483 484 <TextView 485 android:layout_width="wrap_content" 486 android:layout_height="wrap_content" 487 android:text="P:"/> 488 489 <SeekBar 490 android:id="@+id/ridePan" 491 style="@android:style/Widget.DeviceDefault.SeekBar" 492 android:layout_width="match_parent" 493 android:layout_height="20dp" 494 android:layout_marginTop="5dp" 495 android:max="200" /> 496 </LinearLayout> 497 498 <LinearLayout 499 android:layout_width="match_parent" 500 android:layout_height="wrap_content" 501 android:orientation="horizontal"> 502 503 <TextView 504 android:layout_width="wrap_content" 505 android:layout_height="wrap_content" 506 android:text="G:"/> 507 508 <SeekBar 509 android:id="@+id/rideGain" 510 style="@android:style/Widget.DeviceDefault.SeekBar" 511 android:layout_width="match_parent" 512 android:layout_height="20dp" 513 android:layout_marginTop="5dp" 514 android:max="200" /> 515 </LinearLayout> 516 517 <Button 518 android:id="@+id/rideLoopBtn" 519 android:layout_width="wrap_content" 520 android:layout_height="wrap_content" 521 android:layout_gravity="center" 522 android:layout_marginTop="5dp" 523 android:minHeight="0dp" 524 android:minWidth="0dp" 525 android:padding="0dp" 526 android:text="Loop" 527 android:textSize="12sp" 528 android:layout_marginStart="60dp" 529 android:layout_marginEnd="60dp"/> 530 </LinearLayout> 531 </LinearLayout> 532 533 <LinearLayout 534 android:layout_width="wrap_content" 535 android:layout_height="128dp" 536 android:layout_weight=".5" 537 android:orientation="vertical"> 538 539 <com.plausiblesoftware.drumthumper.TriggerPad 540 android:id="@+id/crashPad" 541 android:layout_width="match_parent" 542 android:layout_height="match_parent" 543 android:layout_weight="1" 544 android:padding="5dp" 545 android:text="Crash" /> 546 547 <LinearLayout 548 android:layout_width="match_parent" 549 android:layout_height="wrap_content" 550 android:orientation="vertical" 551 android:id="@+id/crashMixControls"> 552 <LinearLayout 553 android:layout_width="match_parent" 554 android:layout_height="wrap_content" 555 android:orientation="horizontal"> 556 557 <TextView 558 android:layout_width="wrap_content" 559 android:layout_height="wrap_content" 560 android:text="P:"/> 561 562 <SeekBar 563 android:id="@+id/crashPan" 564 style="@android:style/Widget.DeviceDefault.SeekBar" 565 android:layout_width="match_parent" 566 android:layout_height="20dp" 567 android:layout_marginTop="5dp" 568 android:max="200" /> 569 </LinearLayout> 570 571 <LinearLayout 572 android:layout_width="match_parent" 573 android:layout_height="wrap_content" 574 android:orientation="horizontal"> 575 576 <TextView 577 android:layout_width="wrap_content" 578 android:layout_height="wrap_content" 579 android:text="G:"/> 580 581 <SeekBar 582 android:id="@+id/crashGain" 583 style="@android:style/Widget.DeviceDefault.SeekBar" 584 android:layout_width="match_parent" 585 android:layout_height="20dp" 586 android:layout_marginTop="5dp" 587 android:max="200" /> 588 </LinearLayout> 589 590 <Button 591 android:id="@+id/crashLoopBtn" 592 android:layout_width="wrap_content" 593 android:layout_height="wrap_content" 594 android:layout_gravity="center" 595 android:layout_marginTop="5dp" 596 android:minHeight="0dp" 597 android:minWidth="0dp" 598 android:padding="0dp" 599 android:text="Loop" 600 android:textSize="12sp" 601 android:layout_marginStart="60dp" 602 android:layout_marginEnd="60dp"/> 603 </LinearLayout> 604 </LinearLayout> 605 </LinearLayout> 606 <Button 607 android:layout_width="match_parent" 608 android:layout_height="wrap_content" 609 android:text="Hide/Show Mix Controls" 610 android:id="@+id/mixCtrlBtn"/> 611</LinearLayout> 612