1 <?xml version="1.0" encoding="utf-8"?> 2 <ScrollView 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 xmlns:android="http://schemas.android.com/apk/res/android" 6 > 7 <LinearLayout 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:orientation="horizontal" 11 > 12 13 <LinearLayout 14 android:layout_width="120dp" 15 android:layout_height="match_parent" 16 android:orientation="vertical" 17 > 18 <LinearLayout 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:orientation="horizontal" 22 > 23 <Button 24 style="@style/IdButton.Minus" 25 android:id="@+id/clear_1" 26 /> 27 <TextView 28 style="@style/IdTitle" 29 android:text="1" 30 /> 31 <Button 32 style="@style/IdButton.Plus" 33 android:id="@+id/notify_1" 34 /> 35 </LinearLayout> 36 <LinearLayout 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:orientation="horizontal" 40 > 41 <Button 42 style="@style/IdButton.Minus" 43 android:id="@+id/clear_2" 44 /> 45 <TextView 46 style="@style/IdTitle" 47 android:text="2" 48 /> 49 <Button 50 style="@style/IdButton.Plus" 51 android:id="@+id/notify_2" 52 /> 53 </LinearLayout> 54 <LinearLayout 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:orientation="horizontal" 58 > 59 <Button 60 style="@style/IdButton.Minus" 61 android:id="@+id/clear_3" 62 /> 63 <TextView 64 style="@style/IdTitle" 65 android:text="3" 66 /> 67 <Button 68 style="@style/IdButton.Plus" 69 android:id="@+id/notify_3" 70 /> 71 </LinearLayout> 72 <LinearLayout 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:orientation="horizontal" 76 > 77 <Button 78 style="@style/IdButton.Minus" 79 android:id="@+id/clear_4" 80 /> 81 <TextView 82 style="@style/IdTitle" 83 android:text="4" 84 /> 85 <Button 86 style="@style/IdButton.Plus" 87 android:id="@+id/notify_4" 88 /> 89 </LinearLayout> 90 <LinearLayout 91 android:layout_width="match_parent" 92 android:layout_height="wrap_content" 93 android:orientation="horizontal" 94 > 95 <Button 96 style="@style/IdButton.Minus" 97 android:id="@+id/clear_5" 98 /> 99 <TextView 100 style="@style/IdTitle" 101 android:text="5" 102 /> 103 <Button 104 style="@style/IdButton.Plus" 105 android:id="@+id/notify_5" 106 /> 107 </LinearLayout> 108 <LinearLayout 109 android:layout_width="match_parent" 110 android:layout_height="wrap_content" 111 android:orientation="horizontal" 112 > 113 <Button 114 style="@style/IdButton.Minus" 115 android:id="@+id/clear_6" 116 /> 117 <TextView 118 style="@style/IdTitle" 119 android:text="6" 120 /> 121 <Button 122 style="@style/IdButton.Plus" 123 android:id="@+id/notify_6" 124 /> 125 </LinearLayout> 126 <LinearLayout 127 android:layout_width="match_parent" 128 android:layout_height="wrap_content" 129 android:orientation="horizontal" 130 > 131 <Button 132 style="@style/IdButton.Minus" 133 android:id="@+id/clear_7" 134 /> 135 <TextView 136 style="@style/IdTitle" 137 android:text="7" 138 /> 139 <Button 140 style="@style/IdButton.Plus" 141 android:id="@+id/notify_7" 142 /> 143 </LinearLayout> 144 <LinearLayout 145 android:layout_width="match_parent" 146 android:layout_height="wrap_content" 147 android:orientation="horizontal" 148 > 149 <Button 150 style="@style/IdButton.Minus" 151 android:id="@+id/clear_8" 152 /> 153 <TextView 154 style="@style/IdTitle" 155 android:text="8" 156 /> 157 <Button 158 style="@style/IdButton.Plus" 159 android:id="@+id/notify_8" 160 /> 161 </LinearLayout> 162 <LinearLayout 163 android:layout_width="match_parent" 164 android:layout_height="wrap_content" 165 android:orientation="horizontal" 166 > 167 <Button 168 style="@style/IdButton.Minus" 169 android:id="@+id/clear_9" 170 /> 171 <TextView 172 style="@style/IdTitle" 173 android:text="9" 174 /> 175 <Button 176 style="@style/IdButton.Plus" 177 android:id="@+id/notify_9" 178 /> 179 </LinearLayout> 180 <LinearLayout 181 android:layout_width="match_parent" 182 android:layout_height="wrap_content" 183 android:orientation="horizontal" 184 > 185 <Button 186 style="@style/IdButton.Minus" 187 android:id="@+id/clear_10" 188 /> 189 <TextView 190 style="@style/IdTitle" 191 android:text="10" 192 /> 193 <Button 194 style="@style/IdButton.Plus" 195 android:id="@+id/notify_10" 196 /> 197 </LinearLayout> 198 199 <Button 200 android:id="@+id/clear_all" 201 android:textAppearance="?android:attr/textAppearanceSmall" 202 android:layout_width="match_parent" 203 android:layout_height="wrap_content" 204 android:layout_marginTop="12dp" 205 android:layout_marginBottom="12dp" 206 android:text="Clear All" 207 /> 208 <Button 209 android:id="@+id/ten" 210 android:textAppearance="?android:attr/textAppearanceSmall" 211 android:layout_width="match_parent" 212 android:layout_height="wrap_content" 213 android:text="Ten notifications" 214 /> 215 216 </LinearLayout> 217 218 <LinearLayout 219 android:layout_width="wrap_content" 220 android:layout_height="wrap_content" 221 android:orientation="vertical" 222 > 223 224 <!-- setWhen --> 225 <RadioGroup 226 android:id="@+id/group_when" 227 android:layout_width="wrap_content" 228 android:layout_height="wrap_content" 229 android:orientation="horizontal" 230 > 231 <TextView 232 style="@style/FieldTitle" 233 android:text="setWhen" 234 /> 235 <RadioButton 236 android:id="@+id/when_midnight" 237 style="@style/FieldContents" 238 android:text="midnight" 239 /> 240 <RadioButton 241 android:id="@+id/when_now" 242 style="@style/FieldContents" 243 android:text="now" 244 /> 245 <RadioButton 246 android:id="@+id/when_now_plus_1h" 247 style="@style/FieldContents.Disabled" 248 android:text="now + 1h" 249 /> 250 <RadioButton 251 android:id="@+id/when_tomorrow" 252 style="@style/FieldContents.Disabled" 253 android:text="tomorrow" 254 /> 255 </RadioGroup> 256 257 <!-- icon --> 258 <RadioGroup 259 android:id="@+id/group_icon" 260 android:layout_width="wrap_content" 261 android:layout_height="wrap_content" 262 android:orientation="horizontal" 263 > 264 <TextView 265 style="@style/FieldTitle" 266 android:text="setSmallIcon" 267 /> 268 <RadioButton 269 android:id="@+id/icon_im" 270 style="@style/FieldContents" 271 android:text="IM" 272 /> 273 <RadioButton 274 android:id="@+id/icon_alert" 275 style="@style/FieldContents" 276 android:text="alert" 277 /> 278 <RadioButton 279 android:id="@+id/icon_surprise" 280 style="@style/FieldContents" 281 android:text="surprise" 282 /> 283 <RadioButton 284 android:id="@+id/icon_level0" 285 style="@style/FieldContents.Disabled" 286 android:text="level 0" 287 /> 288 <RadioButton 289 android:id="@+id/icon_level50" 290 style="@style/FieldContents.Disabled" 291 android:text="level 50" 292 /> 293 <RadioButton 294 android:id="@+id/icon_level100" 295 style="@style/FieldContents.Disabled" 296 android:text="level 100" 297 /> 298 <!-- todo setSmallIcon(int icon, int level) --> 299 </RadioGroup> 300 301 <!-- setContentTitle --> 302 <RadioGroup 303 android:id="@+id/group_title" 304 android:layout_width="wrap_content" 305 android:layout_height="wrap_content" 306 android:orientation="horizontal" 307 > 308 <TextView 309 style="@style/FieldTitle" 310 android:text="setContentTitle" 311 /> 312 <RadioButton 313 android:id="@+id/title_short" 314 style="@style/FieldContents" 315 android:text="none" 316 android:tag="" 317 /> 318 <RadioButton 319 android:id="@+id/title_short" 320 style="@style/FieldContents" 321 android:text="short" 322 android:tag="Title" 323 /> 324 <RadioButton 325 android:id="@+id/title_medium" 326 style="@style/FieldContents" 327 android:text="medium" 328 android:tag="Notification Test" 329 /> 330 <RadioButton 331 android:id="@+id/title_long" 332 style="@style/FieldContents" 333 android:text="long" 334 android:tag="This is one heckuva long title for a notification" 335 /> 336 </RadioGroup> 337 338 <!-- setContentText --> 339 <RadioGroup 340 android:id="@+id/group_text" 341 android:layout_width="wrap_content" 342 android:layout_height="wrap_content" 343 android:orientation="horizontal" 344 > 345 <TextView 346 style="@style/FieldTitle" 347 android:text="setContentText" 348 /> 349 <RadioButton 350 android:id="@+id/text_none" 351 style="@style/FieldContents" 352 android:text="none" 353 android:tag="" 354 /> 355 <RadioButton 356 android:id="@+id/text_short" 357 style="@style/FieldContents" 358 android:tag="short" 359 android:text="text" 360 /> 361 <RadioButton 362 android:id="@+id/text_medium" 363 style="@style/FieldContents" 364 android:text="medium" 365 android:tag="Something happened" 366 /> 367 <RadioButton 368 android:id="@+id/text_long" 369 style="@style/FieldContents" 370 android:text="long" 371 android:tag="Oh my goodness. SOMETHING HAPPENED!!!!" 372 /> 373 <RadioButton 374 android:id="@+id/text_emoji" 375 style="@style/FieldContents" 376 android:text="emoji" 377 android:tag="_ Cactus _ Cactus _" 378 /> 379 <RadioButton 380 android:id="@+id/text_haiku" 381 style="@style/FieldContents" 382 android:text="haiku" 383 android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens" 384 /> 385 </RadioGroup> 386 387 <!-- setContentInfo --> 388 <RadioGroup 389 android:id="@+id/group_info" 390 android:layout_width="wrap_content" 391 android:layout_height="wrap_content" 392 android:orientation="horizontal" 393 > 394 <TextView 395 style="@style/FieldTitle" 396 android:text="setContentInfo" 397 /> 398 <RadioButton 399 android:id="@+id/info_none" 400 style="@style/FieldContents" 401 android:text="none" 402 android:tag="" 403 /> 404 <RadioButton 405 android:id="@+id/info_number" 406 style="@style/FieldContents" 407 android:text="snoozed" 408 android:tag="snoozed" 409 /> 410 <RadioButton 411 android:id="@+id/info_long" 412 style="@style/FieldContents" 413 android:text="longer" 414 android:tag="this content info is way too long" 415 /> 416 </RadioGroup> 417 418 <!-- setNumber --> 419 <RadioGroup 420 android:id="@+id/group_number" 421 android:layout_width="wrap_content" 422 android:layout_height="wrap_content" 423 android:orientation="horizontal" 424 > 425 <TextView 426 style="@style/FieldTitle" 427 android:text="setNumber" 428 /> 429 <RadioButton 430 android:id="@+id/number_0" 431 style="@style/FieldContents" 432 android:text="0" 433 android:tag="0" 434 /> 435 <RadioButton 436 android:id="@+id/number_1" 437 style="@style/FieldContents" 438 android:text="1" 439 android:tag="1" 440 /> 441 <RadioButton 442 android:id="@+id/number_42" 443 style="@style/FieldContents" 444 android:text="42" 445 android:tag="42" 446 /> 447 <RadioButton 448 android:id="@+id/number_334" 449 style="@style/FieldContents" 450 android:text="334" 451 android:tag="334" 452 /> 453 <RadioButton 454 android:id="@+id/number_999" 455 style="@style/FieldContents" 456 android:text="999" 457 android:tag="999" 458 /> 459 <RadioButton 460 android:id="@+id/number_9876" 461 style="@style/FieldContents" 462 android:text="9,876" 463 android:tag="9876" 464 /> 465 <RadioButton 466 android:id="@+id/number_12345" 467 style="@style/FieldContents" 468 android:text="12,345" 469 android:tag="12345" 470 /> 471 </RadioGroup> 472 473 <!-- setContentIntent --> 474 <RadioGroup 475 android:id="@+id/group_intent" 476 android:layout_width="wrap_content" 477 android:layout_height="wrap_content" 478 android:orientation="horizontal" 479 > 480 <TextView 481 style="@style/FieldTitle" 482 android:text="setContentIntent" 483 /> 484 <RadioButton 485 android:id="@+id/intent_none" 486 style="@style/FieldContents" 487 android:text="none" 488 /> 489 <RadioButton 490 android:id="@+id/intent_alert" 491 style="@style/FieldContents" 492 android:text="alert" 493 /> 494 </RadioGroup> 495 496 <!-- setDeleteIntent --> 497 <RadioGroup 498 android:id="@+id/group_delete" 499 android:layout_width="wrap_content" 500 android:layout_height="wrap_content" 501 android:orientation="horizontal" 502 > 503 <TextView 504 style="@style/FieldTitle" 505 android:text="setDeleteIntent" 506 /> 507 <RadioButton 508 android:id="@+id/delete_none" 509 style="@style/FieldContents" 510 android:text="none" 511 /> 512 <RadioButton 513 android:id="@+id/delete_alert" 514 style="@style/FieldContents" 515 android:text="alert" 516 /> 517 </RadioGroup> 518 519 520 <!-- setFullScreenIntent --> 521 <RadioGroup 522 android:id="@+id/group_full_screen" 523 android:layout_width="wrap_content" 524 android:layout_height="wrap_content" 525 android:orientation="horizontal" 526 android:visibility="gone" 527 > 528 <TextView 529 style="@style/FieldTitle" 530 android:text="setFullScreenIntent" 531 /> 532 <RadioButton 533 android:id="@+id/full_screen_none" 534 style="@style/FieldContents.Disabled" 535 android:text="none" 536 /> 537 <RadioButton 538 android:id="@+id/full_screen_activity" 539 style="@style/FieldContents.Disabled" 540 android:text="full screen" 541 /> 542 </RadioGroup> 543 544 545 <!-- setTicker --> 546 <RadioGroup 547 android:id="@+id/group_ticker" 548 android:layout_width="wrap_content" 549 android:layout_height="wrap_content" 550 android:orientation="horizontal" 551 > 552 <TextView 553 style="@style/FieldTitle" 554 android:text="setTicker" 555 /> 556 <RadioButton 557 android:id="@+id/ticker_none" 558 style="@style/FieldContents" 559 android:text="none" 560 android:tag="" 561 /> 562 <RadioButton 563 android:id="@+id/ticker_short" 564 style="@style/FieldContents" 565 android:text="short" 566 android:tag="tick" 567 /> 568 <RadioButton 569 android:id="@+id/ticker_wrap" 570 style="@style/FieldContents" 571 android:text="wrap" 572 android:tag="tick tick tick tock tock tock something fun has happened but i don't know what it is just yet" 573 /> 574 <RadioButton 575 android:id="@+id/ticker_haiku" 576 style="@style/FieldContents" 577 android:text="haiku" 578 android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens" 579 /> 580 <RadioButton 581 android:id="@+id/ticker_emoji" 582 style="@style/FieldContents" 583 android:text="emoji" 584 android:tag="_ Cactus _ Cactus _" 585 /> 586 <RadioButton 587 android:id="@+id/ticker_custom" 588 style="@style/FieldContents.Disabled" 589 android:text="custom view" 590 /> 591 </RadioGroup> 592 593 594 <!-- setLargeIcon --> 595 <RadioGroup 596 android:id="@+id/group_large_icon" 597 android:layout_width="wrap_content" 598 android:layout_height="wrap_content" 599 android:orientation="horizontal" 600 > 601 <TextView 602 style="@style/FieldTitle" 603 android:text="setLargeIcon" 604 /> 605 <RadioButton 606 android:id="@+id/large_icon_none" 607 style="@style/FieldContents" 608 android:text="none" 609 /> 610 <RadioButton 611 android:id="@+id/large_icon_pineapple" 612 style="@style/FieldContents" 613 android:text="pineapple" 614 /> 615 <RadioButton 616 android:id="@+id/large_icon_pineapple2" 617 style="@style/FieldContents" 618 android:text="pineapple2" 619 /> 620 <RadioButton 621 android:id="@+id/large_icon_small" 622 style="@style/FieldContents" 623 android:text="small" 624 /> 625 </RadioGroup> 626 627 628 <!-- setSound --> 629 <RadioGroup 630 android:id="@+id/group_sound" 631 android:layout_width="wrap_content" 632 android:layout_height="wrap_content" 633 android:orientation="horizontal" 634 android:visibility="gone" 635 > 636 <TextView 637 style="@style/FieldTitle" 638 android:text="setSound" 639 /> 640 <RadioButton 641 android:id="@+id/sound_none" 642 style="@style/FieldContents.Disabled" 643 android:text="none" 644 /> 645 </RadioGroup> 646 647 648 <!-- setVibrate --> 649 <RadioGroup 650 android:id="@+id/group_vibrate" 651 android:layout_width="wrap_content" 652 android:layout_height="wrap_content" 653 android:orientation="horizontal" 654 > 655 <TextView 656 style="@style/FieldTitle" 657 android:text="setVibrate" 658 /> 659 <RadioButton 660 android:id="@+id/vibrate_none" 661 style="@style/FieldContents" 662 android:text="none" 663 /> 664 <RadioButton 665 android:id="@+id/vibrate_short" 666 style="@style/FieldContents" 667 android:text="short" 668 /> 669 <RadioButton 670 android:id="@+id/vibrate_medium" 671 style="@style/FieldContents" 672 android:text="long" 673 /> 674 <RadioButton 675 android:id="@+id/vibrate_long" 676 style="@style/FieldContents" 677 android:text="long" 678 /> 679 <RadioButton 680 android:id="@+id/vibrate_pattern" 681 style="@style/FieldContents" 682 android:text="longer" 683 /> 684 </RadioGroup> 685 686 687 <!-- setLights --> 688 <RadioGroup 689 android:id="@+id/group_lights_color" 690 android:layout_width="wrap_content" 691 android:layout_height="wrap_content" 692 android:orientation="horizontal" 693 > 694 <TextView 695 style="@style/FieldTitle" 696 android:text="setLights (color)" 697 /> 698 <RadioButton 699 android:id="@+id/lights_red" 700 style="@style/FieldContents" 701 android:text="red" 702 android:tag="0xff0000" 703 /> 704 <RadioButton 705 android:id="@+id/lights_green" 706 style="@style/FieldContents" 707 android:text="green" 708 android:tag="0x00ff00" 709 /> 710 <RadioButton 711 android:id="@+id/lights_blue" 712 style="@style/FieldContents" 713 android:text="blue" 714 android:tag="0x0000ff" 715 /> 716 <RadioButton 717 android:id="@+id/lights_cyan" 718 style="@style/FieldContents" 719 android:text="cyan" 720 android:tag="0x00ffff" 721 /> 722 <RadioButton 723 android:id="@+id/lights_magenta" 724 style="@style/FieldContents" 725 android:text="magenta" 726 android:tag="0xff00ff" 727 /> 728 <RadioButton 729 android:id="@+id/lights_yellow" 730 style="@style/FieldContents" 731 android:text="yellow" 732 android:tag="0xffff00" 733 /> 734 <RadioButton 735 android:id="@+id/lights_white" 736 style="@style/FieldContents" 737 android:text="white" 738 android:tag="0xffffff" 739 /> 740 </RadioGroup> 741 742 <!-- setLights --> 743 <RadioGroup 744 android:id="@+id/group_lights_blink" 745 android:layout_width="wrap_content" 746 android:layout_height="wrap_content" 747 android:orientation="horizontal" 748 > 749 <TextView 750 style="@style/FieldTitle" 751 android:text="setLights (blink)" 752 /> 753 <RadioButton 754 android:id="@+id/lights_off" 755 style="@style/FieldContents" 756 android:text="off" 757 /> 758 <RadioButton 759 android:id="@+id/lights_slow" 760 style="@style/FieldContents" 761 android:text="slow" 762 /> 763 <RadioButton 764 android:id="@+id/lights_fast" 765 style="@style/FieldContents" 766 android:text="fast" 767 /> 768 <RadioButton 769 android:id="@+id/lights_on" 770 style="@style/FieldContents" 771 android:text="on" 772 /> 773 </RadioGroup> 774 775 <!-- flags --> 776 <LinearLayout 777 android:layout_width="wrap_content" 778 android:layout_height="wrap_content" 779 android:orientation="horizontal" 780 android:layout_marginTop="12dp" 781 > 782 <TextView 783 style="@style/FieldTitle" 784 android:text="flags" 785 /> 786 <CheckBox 787 android:id="@+id/flag_ongoing" 788 style="@style/FieldContents" 789 android:text="setOngoing" 790 /> 791 <CheckBox 792 android:id="@+id/flag_once" 793 style="@style/FieldContents" 794 android:text="setOnlyAlertOnce" 795 /> 796 <CheckBox 797 android:id="@+id/flag_auto_cancel" 798 style="@style/FieldContents" 799 android:text="setAutoCancel" 800 /> 801 </LinearLayout> 802 803 <!-- defaults --> 804 <LinearLayout 805 android:layout_width="wrap_content" 806 android:layout_height="wrap_content" 807 android:orientation="horizontal" 808 > 809 <TextView 810 style="@style/FieldTitle" 811 android:text="defaults" 812 /> 813 <CheckBox 814 android:id="@+id/default_sound" 815 style="@style/FieldContents" 816 android:text="sound" 817 /> 818 <CheckBox 819 android:id="@+id/default_vibrate" 820 style="@style/FieldContents" 821 android:text="vibrate" 822 /> 823 <CheckBox 824 android:id="@+id/default_lights" 825 style="@style/FieldContents" 826 android:text="lights" 827 /> 828 </LinearLayout> 829 830 831 832 833 </LinearLayout> 834 </LinearLayout> 835 836 </ScrollView> 837