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_haiku" 375 style="@style/FieldContents" 376 android:text="haiku" 377 android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens" 378 /> 379 </RadioGroup> 380 381 <!-- setContentInfo --> 382 <RadioGroup 383 android:id="@+id/group_info" 384 android:layout_width="wrap_content" 385 android:layout_height="wrap_content" 386 android:orientation="horizontal" 387 > 388 <TextView 389 style="@style/FieldTitle" 390 android:text="setContentInfo" 391 /> 392 <RadioButton 393 android:id="@+id/info_none" 394 style="@style/FieldContents" 395 android:text="none" 396 android:tag="" 397 /> 398 <RadioButton 399 android:id="@+id/info_number" 400 style="@style/FieldContents" 401 android:text="snoozed" 402 android:tag="snoozed" 403 /> 404 <RadioButton 405 android:id="@+id/info_long" 406 style="@style/FieldContents" 407 android:text="longer" 408 android:tag="this content info is way too long" 409 /> 410 </RadioGroup> 411 412 <!-- setNumber --> 413 <RadioGroup 414 android:id="@+id/group_number" 415 android:layout_width="wrap_content" 416 android:layout_height="wrap_content" 417 android:orientation="horizontal" 418 > 419 <TextView 420 style="@style/FieldTitle" 421 android:text="setNumber" 422 /> 423 <RadioButton 424 android:id="@+id/number_0" 425 style="@style/FieldContents" 426 android:text="0" 427 android:tag="0" 428 /> 429 <RadioButton 430 android:id="@+id/number_1" 431 style="@style/FieldContents" 432 android:text="1" 433 android:tag="1" 434 /> 435 <RadioButton 436 android:id="@+id/number_42" 437 style="@style/FieldContents" 438 android:text="42" 439 android:tag="42" 440 /> 441 <RadioButton 442 android:id="@+id/number_334" 443 style="@style/FieldContents" 444 android:text="334" 445 android:tag="334" 446 /> 447 <RadioButton 448 android:id="@+id/number_999" 449 style="@style/FieldContents" 450 android:text="999" 451 android:tag="999" 452 /> 453 <RadioButton 454 android:id="@+id/number_9876" 455 style="@style/FieldContents" 456 android:text="9,876" 457 android:tag="9876" 458 /> 459 <RadioButton 460 android:id="@+id/number_12345" 461 style="@style/FieldContents" 462 android:text="12,345" 463 android:tag="12345" 464 /> 465 </RadioGroup> 466 467 <!-- setContentIntent --> 468 <RadioGroup 469 android:id="@+id/group_intent" 470 android:layout_width="wrap_content" 471 android:layout_height="wrap_content" 472 android:orientation="horizontal" 473 > 474 <TextView 475 style="@style/FieldTitle" 476 android:text="setContentIntent" 477 /> 478 <RadioButton 479 android:id="@+id/intent_none" 480 style="@style/FieldContents" 481 android:text="none" 482 /> 483 <RadioButton 484 android:id="@+id/intent_alert" 485 style="@style/FieldContents" 486 android:text="alert" 487 /> 488 </RadioGroup> 489 490 <!-- setDeleteIntent --> 491 <RadioGroup 492 android:id="@+id/group_delete" 493 android:layout_width="wrap_content" 494 android:layout_height="wrap_content" 495 android:orientation="horizontal" 496 > 497 <TextView 498 style="@style/FieldTitle" 499 android:text="setDeleteIntent" 500 /> 501 <RadioButton 502 android:id="@+id/delete_none" 503 style="@style/FieldContents" 504 android:text="none" 505 /> 506 <RadioButton 507 android:id="@+id/delete_alert" 508 style="@style/FieldContents" 509 android:text="alert" 510 /> 511 </RadioGroup> 512 513 514 <!-- setFullScreenIntent --> 515 <RadioGroup 516 android:id="@+id/group_full_screen" 517 android:layout_width="wrap_content" 518 android:layout_height="wrap_content" 519 android:orientation="horizontal" 520 android:visibility="gone" 521 > 522 <TextView 523 style="@style/FieldTitle" 524 android:text="setFullScreenIntent" 525 /> 526 <RadioButton 527 android:id="@+id/full_screen_none" 528 style="@style/FieldContents.Disabled" 529 android:text="none" 530 /> 531 <RadioButton 532 android:id="@+id/full_screen_activity" 533 style="@style/FieldContents.Disabled" 534 android:text="full screen" 535 /> 536 </RadioGroup> 537 538 539 <!-- setTicker --> 540 <RadioGroup 541 android:id="@+id/group_ticker" 542 android:layout_width="wrap_content" 543 android:layout_height="wrap_content" 544 android:orientation="horizontal" 545 > 546 <TextView 547 style="@style/FieldTitle" 548 android:text="setTicker" 549 /> 550 <RadioButton 551 android:id="@+id/ticker_none" 552 style="@style/FieldContents" 553 android:text="none" 554 android:tag="" 555 /> 556 <RadioButton 557 android:id="@+id/ticker_short" 558 style="@style/FieldContents" 559 android:text="short" 560 android:tag="tick" 561 /> 562 <RadioButton 563 android:id="@+id/ticker_wrap" 564 style="@style/FieldContents" 565 android:text="wrap" 566 android:tag="tick tick tick tock tock tock something fun has happened but i don't know what it is just yet" 567 /> 568 <RadioButton 569 android:id="@+id/ticker_haiku" 570 style="@style/FieldContents" 571 android:text="haiku" 572 android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens" 573 /> 574 <RadioButton 575 android:id="@+id/ticker_custom" 576 style="@style/FieldContents.Disabled" 577 android:text="custom view" 578 /> 579 </RadioGroup> 580 581 582 <!-- setLargeIcon --> 583 <RadioGroup 584 android:id="@+id/group_large_icon" 585 android:layout_width="wrap_content" 586 android:layout_height="wrap_content" 587 android:orientation="horizontal" 588 > 589 <TextView 590 style="@style/FieldTitle" 591 android:text="setLargeIcon" 592 /> 593 <RadioButton 594 android:id="@+id/large_icon_none" 595 style="@style/FieldContents" 596 android:text="none" 597 /> 598 <RadioButton 599 android:id="@+id/large_icon_pineapple" 600 style="@style/FieldContents" 601 android:text="pineapple" 602 /> 603 <RadioButton 604 android:id="@+id/large_icon_pineapple2" 605 style="@style/FieldContents" 606 android:text="pineapple2" 607 /> 608 <RadioButton 609 android:id="@+id/large_icon_small" 610 style="@style/FieldContents" 611 android:text="small" 612 /> 613 </RadioGroup> 614 615 616 <!-- setSound --> 617 <RadioGroup 618 android:id="@+id/group_sound" 619 android:layout_width="wrap_content" 620 android:layout_height="wrap_content" 621 android:orientation="horizontal" 622 android:visibility="gone" 623 > 624 <TextView 625 style="@style/FieldTitle" 626 android:text="setSound" 627 /> 628 <RadioButton 629 android:id="@+id/sound_none" 630 style="@style/FieldContents.Disabled" 631 android:text="none" 632 /> 633 </RadioGroup> 634 635 636 <!-- setVibrate --> 637 <RadioGroup 638 android:id="@+id/group_vibrate" 639 android:layout_width="wrap_content" 640 android:layout_height="wrap_content" 641 android:orientation="horizontal" 642 > 643 <TextView 644 style="@style/FieldTitle" 645 android:text="setVibrate" 646 /> 647 <RadioButton 648 android:id="@+id/vibrate_none" 649 style="@style/FieldContents" 650 android:text="none" 651 /> 652 <RadioButton 653 android:id="@+id/vibrate_short" 654 style="@style/FieldContents" 655 android:text="short" 656 /> 657 <RadioButton 658 android:id="@+id/vibrate_medium" 659 style="@style/FieldContents" 660 android:text="long" 661 /> 662 <RadioButton 663 android:id="@+id/vibrate_long" 664 style="@style/FieldContents" 665 android:text="long" 666 /> 667 <RadioButton 668 android:id="@+id/vibrate_pattern" 669 style="@style/FieldContents" 670 android:text="longer" 671 /> 672 </RadioGroup> 673 674 675 <!-- setLights --> 676 <RadioGroup 677 android:id="@+id/group_lights_color" 678 android:layout_width="wrap_content" 679 android:layout_height="wrap_content" 680 android:orientation="horizontal" 681 > 682 <TextView 683 style="@style/FieldTitle" 684 android:text="setLights (color)" 685 /> 686 <RadioButton 687 android:id="@+id/lights_red" 688 style="@style/FieldContents" 689 android:text="red" 690 android:tag="0xff0000" 691 /> 692 <RadioButton 693 android:id="@+id/lights_green" 694 style="@style/FieldContents" 695 android:text="green" 696 android:tag="0x00ff00" 697 /> 698 <RadioButton 699 android:id="@+id/lights_blue" 700 style="@style/FieldContents" 701 android:text="blue" 702 android:tag="0x0000ff" 703 /> 704 <RadioButton 705 android:id="@+id/lights_cyan" 706 style="@style/FieldContents" 707 android:text="cyan" 708 android:tag="0x00ffff" 709 /> 710 <RadioButton 711 android:id="@+id/lights_magenta" 712 style="@style/FieldContents" 713 android:text="magenta" 714 android:tag="0xff00ff" 715 /> 716 <RadioButton 717 android:id="@+id/lights_yellow" 718 style="@style/FieldContents" 719 android:text="yellow" 720 android:tag="0xffff00" 721 /> 722 <RadioButton 723 android:id="@+id/lights_white" 724 style="@style/FieldContents" 725 android:text="white" 726 android:tag="0xffffff" 727 /> 728 </RadioGroup> 729 730 <!-- setLights --> 731 <RadioGroup 732 android:id="@+id/group_lights_blink" 733 android:layout_width="wrap_content" 734 android:layout_height="wrap_content" 735 android:orientation="horizontal" 736 > 737 <TextView 738 style="@style/FieldTitle" 739 android:text="setLights (blink)" 740 /> 741 <RadioButton 742 android:id="@+id/lights_off" 743 style="@style/FieldContents" 744 android:text="off" 745 /> 746 <RadioButton 747 android:id="@+id/lights_slow" 748 style="@style/FieldContents" 749 android:text="slow" 750 /> 751 <RadioButton 752 android:id="@+id/lights_fast" 753 style="@style/FieldContents" 754 android:text="fast" 755 /> 756 <RadioButton 757 android:id="@+id/lights_on" 758 style="@style/FieldContents" 759 android:text="on" 760 /> 761 </RadioGroup> 762 763 <!-- flags --> 764 <LinearLayout 765 android:layout_width="wrap_content" 766 android:layout_height="wrap_content" 767 android:orientation="horizontal" 768 android:layout_marginTop="12dp" 769 > 770 <TextView 771 style="@style/FieldTitle" 772 android:text="flags" 773 /> 774 <CheckBox 775 android:id="@+id/flag_ongoing" 776 style="@style/FieldContents" 777 android:text="setOngoing" 778 /> 779 <CheckBox 780 android:id="@+id/flag_once" 781 style="@style/FieldContents" 782 android:text="setOnlyAlertOnce" 783 /> 784 <CheckBox 785 android:id="@+id/flag_auto_cancel" 786 style="@style/FieldContents" 787 android:text="setAutoCancel" 788 /> 789 </LinearLayout> 790 791 <!-- defaults --> 792 <LinearLayout 793 android:layout_width="wrap_content" 794 android:layout_height="wrap_content" 795 android:orientation="horizontal" 796 > 797 <TextView 798 style="@style/FieldTitle" 799 android:text="defaults" 800 /> 801 <CheckBox 802 android:id="@+id/default_sound" 803 style="@style/FieldContents" 804 android:text="sound" 805 /> 806 <CheckBox 807 android:id="@+id/default_vibrate" 808 style="@style/FieldContents" 809 android:text="vibrate" 810 /> 811 <CheckBox 812 android:id="@+id/default_lights" 813 style="@style/FieldContents" 814 android:text="lights" 815 /> 816 </LinearLayout> 817 818 819 820 821 </LinearLayout> 822 </LinearLayout> 823 824 </ScrollView> 825