notification_builder_test.xml revision 205ec5a969963f563b30b37385362ccfebdd5e4c
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            <LinearLayout
226                style="@style/FieldGroup"
227                >
228                <TextView
229                        style="@style/FieldTitle"
230                        android:text="setWhen"
231                        />
232	            <RadioGroup
233	                    android:id="@+id/group_when"
234	                    style="@style/FieldChoices"
235	                    >
236	                <RadioButton
237	                        android:id="@+id/when_midnight"
238	                        style="@style/FieldContents"
239	                        android:text="midnight"
240	                        />
241	                <RadioButton
242	                        android:id="@+id/when_now"
243	                        style="@style/FieldContents"
244	                        android:text="now"
245	                        />
246	                <RadioButton
247	                        android:id="@+id/when_now_plus_1h"
248	                        style="@style/FieldContents.Disabled"
249	                        android:text="now + 1h"
250	                        />
251	                <RadioButton
252	                        android:id="@+id/when_tomorrow"
253	                        style="@style/FieldContents.Disabled"
254	                        android:text="tomorrow"
255	                        />
256	            </RadioGroup>
257            </LinearLayout>
258
259            <!-- icon -->
260            <LinearLayout
261                style="@style/FieldGroup"
262                >
263                <TextView
264                        style="@style/FieldTitle"
265                        android:text="setSmallIcon"
266                        />
267                <RadioGroup
268                        android:id="@+id/group_icon"
269                        style="@style/FieldChoices"
270                        >
271                    <RadioButton
272                            android:id="@+id/icon_im"
273                            style="@style/FieldContents"
274                            android:text="IM"
275                            />
276                    <RadioButton
277                            android:id="@+id/icon_alert"
278                            style="@style/FieldContents"
279                            android:text="alert"
280                            />
281                    <RadioButton
282                            android:id="@+id/icon_surprise"
283                            style="@style/FieldContents"
284                            android:text="surprise"
285                            />
286                    <RadioButton
287                            android:id="@+id/icon_level0"
288                            style="@style/FieldContents.Disabled"
289                            android:text="level 0"
290                            />
291                    <RadioButton
292                            android:id="@+id/icon_level50"
293                            style="@style/FieldContents.Disabled"
294                            android:text="level 50"
295                            />
296                    <RadioButton
297                            android:id="@+id/icon_level100"
298                            style="@style/FieldContents.Disabled"
299                            android:text="level 100"
300                            />
301                    <!-- todo setSmallIcon(int icon, int level) -->
302                </RadioGroup>
303            </LinearLayout>
304
305            <!-- setContentTitle -->
306            <LinearLayout
307                style="@style/FieldGroup"
308                >
309                <TextView
310                        style="@style/FieldTitle"
311                        android:text="setContentTitle"
312                        />
313                <RadioGroup
314                        android:id="@+id/group_title"
315                        style="@style/FieldChoices"
316                        >
317                    <RadioButton
318                            android:id="@+id/title_short"
319                            style="@style/FieldContents"
320                            android:text="none"
321                            android:tag=""
322                            />
323                    <RadioButton
324                            android:id="@+id/title_short"
325                            style="@style/FieldContents"
326                            android:text="short"
327                            android:tag="Title"
328                            />
329                    <RadioButton
330                            android:id="@+id/title_medium"
331                            style="@style/FieldContents"
332                            android:text="medium"
333                            android:tag="Notification Test"
334                            />
335                    <RadioButton
336                            android:id="@+id/title_long"
337                            style="@style/FieldContents"
338                            android:text="long"
339                            android:tag="This is one heckuva long title for a notification"
340                            />
341                </RadioGroup>
342            </LinearLayout>
343
344            <!-- setContentText -->
345            <LinearLayout
346                style="@style/FieldGroup"
347                >
348                <TextView
349                        style="@style/FieldTitle"
350                        android:text="setContentText"
351                        />
352                <RadioGroup
353                        android:id="@+id/group_text"
354                        style="@style/FieldChoices"
355                        >
356                    <RadioButton
357                            android:id="@+id/text_none"
358                            style="@style/FieldContents"
359                            android:text="none"
360                            android:tag=""
361                            />
362                    <RadioButton
363                            android:id="@+id/text_short"
364                            style="@style/FieldContents"
365                            android:tag="short"
366                            android:text="text"
367                            />
368                    <RadioButton
369                            android:id="@+id/text_medium"
370                            style="@style/FieldContents"
371                            android:text="medium"
372                            android:tag="Something happened"
373                            />
374                    <RadioButton
375                            android:id="@+id/text_long"
376                            style="@style/FieldContents"
377                            android:text="long"
378                            android:tag="Oh my goodness.  SOMETHING HAPPENED!!!!"
379                            />
380                    <RadioButton
381                            android:id="@+id/text_emoji"
382                            style="@style/FieldContents"
383                            android:text="emoji"
384                            android:tag="_ Cactus _ Cactus _"
385                            />
386                    <RadioButton
387                            android:id="@+id/text_haiku"
388                            style="@style/FieldContents"
389                            android:text="haiku"
390                            android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens"
391                            />
392                </RadioGroup>
393            </LinearLayout>
394
395            <!-- setContentInfo -->
396            <LinearLayout
397                style="@style/FieldGroup"
398                >
399                <TextView
400                        style="@style/FieldTitle"
401                        android:text="setContentInfo"
402                        />
403                <RadioGroup
404                        android:id="@+id/group_info"
405                        style="@style/FieldChoices"
406                        >
407                    <RadioButton
408                            android:id="@+id/info_none"
409                            style="@style/FieldContents"
410                            android:text="none"
411                            android:tag=""
412                            />
413                    <RadioButton
414                            android:id="@+id/info_number"
415                            style="@style/FieldContents"
416                            android:text="snoozed"
417                            android:tag="snoozed"
418                            />
419                    <RadioButton
420                            android:id="@+id/info_long"
421                            style="@style/FieldContents"
422                            android:text="longer"
423                            android:tag="this content info is way too long"
424                            />
425                </RadioGroup>
426            </LinearLayout>
427
428            <!-- setNumber -->
429            <LinearLayout
430                style="@style/FieldGroup"
431                >
432                <TextView
433                        style="@style/FieldTitle"
434                        android:text="setNumber"
435                        />
436                <RadioGroup
437                        android:id="@+id/group_number"
438                        style="@style/FieldChoices"
439                        >
440                    <RadioButton
441                            android:id="@+id/number_0"
442                            style="@style/FieldContents"
443                            android:text="0"
444                            android:tag="0"
445                            />
446                    <RadioButton
447                            android:id="@+id/number_1"
448                            style="@style/FieldContents"
449                            android:text="1"
450                            android:tag="1"
451                            />
452                    <RadioButton
453                            android:id="@+id/number_42"
454                            style="@style/FieldContents"
455                            android:text="42"
456                            android:tag="42"
457                            />
458                    <RadioButton
459                            android:id="@+id/number_334"
460                            style="@style/FieldContents"
461                            android:text="334"
462                            android:tag="334"
463                            />
464                    <RadioButton
465                            android:id="@+id/number_999"
466                            style="@style/FieldContents"
467                            android:text="999"
468                            android:tag="999"
469                            />
470                    <RadioButton
471                            android:id="@+id/number_9876"
472                            style="@style/FieldContents"
473                            android:text="9,876"
474                            android:tag="9876"
475                            />
476                    <RadioButton
477                            android:id="@+id/number_12345"
478                            style="@style/FieldContents"
479                            android:text="12,345"
480                            android:tag="12345"
481                            />
482                </RadioGroup>
483            </LinearLayout>
484
485            <!-- setContentIntent -->
486            <LinearLayout
487                style="@style/FieldGroup"
488                >
489                <TextView
490                        style="@style/FieldTitle"
491                        android:text="setContentIntent"
492                        />
493                <RadioGroup
494                        android:id="@+id/group_intent"
495                        style="@style/FieldChoices"
496                        >
497                    <RadioButton
498                            android:id="@+id/intent_none"
499                            style="@style/FieldContents"
500                            android:text="none"
501                            />
502                    <RadioButton
503                            android:id="@+id/intent_alert"
504                            style="@style/FieldContents"
505                            android:text="alert"
506                            />
507                </RadioGroup>
508            </LinearLayout>
509
510            <!-- setDeleteIntent -->
511            <LinearLayout
512                style="@style/FieldGroup"
513                >
514                <TextView
515                        style="@style/FieldTitle"
516                        android:text="setDeleteIntent"
517                        />
518                <RadioGroup
519                        android:id="@+id/group_delete"
520                        style="@style/FieldChoices"
521                        >
522                    <RadioButton
523                            android:id="@+id/delete_none"
524                            style="@style/FieldContents"
525                            android:text="none"
526                            />
527                    <RadioButton
528                            android:id="@+id/delete_alert"
529                            style="@style/FieldContents"
530                            android:text="alert"
531                            />
532                </RadioGroup>
533            </LinearLayout>
534
535            <!-- setFullScreenIntent -->
536            <RadioGroup
537                    android:id="@+id/group_full_screen"
538                    style="@style/FieldChoices"
539                    android:visibility="gone"
540                    >
541                <TextView
542                        style="@style/FieldTitle"
543                        android:text="setFullScreenIntent"
544                        />
545                <RadioButton
546                        android:id="@+id/full_screen_none"
547                        style="@style/FieldContents.Disabled"
548                        android:text="none"
549                        />
550                <RadioButton
551                        android:id="@+id/full_screen_activity"
552                        style="@style/FieldContents.Disabled"
553                        android:text="full screen"
554                        />
555            </RadioGroup>
556            
557
558            <!-- setTicker -->
559            <LinearLayout
560                style="@style/FieldGroup"
561                >
562                <TextView
563                        style="@style/FieldTitle"
564                        android:text="setTicker"
565                        />
566                <RadioGroup
567                        android:id="@+id/group_ticker"
568                        style="@style/FieldChoices"
569                        >
570                    <RadioButton
571                            android:id="@+id/ticker_none"
572                            style="@style/FieldContents"
573                            android:text="none"
574                            android:tag=""
575                            />
576                    <RadioButton
577                            android:id="@+id/ticker_short"
578                            style="@style/FieldContents"
579                            android:text="short"
580                            android:tag="tick"
581                            />
582                    <RadioButton
583                            android:id="@+id/ticker_wrap"
584                            style="@style/FieldContents"
585                            android:text="wrap"
586                            android:tag="tick tick tick tock tock tock something fun has happened but i don't know what it is just yet"
587                            />
588                    <RadioButton
589                            android:id="@+id/ticker_haiku"
590                            style="@style/FieldContents"
591                            android:text="haiku"
592                            android:tag="sholes final approach\nlanding gear punted to flan\nrunway foam glistens"
593                            />
594                    <RadioButton
595                            android:id="@+id/ticker_emoji"
596                            style="@style/FieldContents"
597                            android:text="emoji"
598                            android:tag="_ Cactus _ Cactus _"
599                            />
600                    <RadioButton
601                            android:id="@+id/ticker_custom"
602                            style="@style/FieldContents.Disabled"
603                            android:text="custom view"
604                            />
605                </RadioGroup>
606            </LinearLayout>
607
608            <!-- setLargeIcon -->
609            <LinearLayout
610                style="@style/FieldGroup"
611                >
612                <TextView
613                        style="@style/FieldTitle"
614                        android:text="setLargeIcon"
615                        />
616                <RadioGroup
617                        android:id="@+id/group_large_icon"
618                        style="@style/FieldChoices"
619                        >
620                    <RadioButton
621                            android:id="@+id/large_icon_none"
622                            style="@style/FieldContents"
623                            android:text="none"
624                            />
625                    <RadioButton
626                            android:id="@+id/large_icon_pineapple"
627                            style="@style/FieldContents"
628                            android:text="pineapple"
629                            />
630                    <RadioButton
631                            android:id="@+id/large_icon_pineapple2"
632                            style="@style/FieldContents"
633                            android:text="pineapple2"
634                            />
635                    <RadioButton
636                            android:id="@+id/large_icon_small"
637                            style="@style/FieldContents"
638                            android:text="small"
639                            />
640                </RadioGroup>
641            </LinearLayout>
642
643            <!-- setSound -->
644            <RadioGroup
645                    android:id="@+id/group_sound"
646                    style="@style/FieldChoices"
647                    android:visibility="gone"
648                    >
649                <TextView
650                        style="@style/FieldTitle"
651                        android:text="setSound"
652                        />
653                <RadioButton
654                        android:id="@+id/sound_none"
655                        style="@style/FieldContents.Disabled"
656                        android:text="none"
657                        />
658            </RadioGroup>
659            
660
661            <!-- setVibrate -->
662            <LinearLayout
663                style="@style/FieldGroup"
664                >
665                <TextView
666                        style="@style/FieldTitle"
667                        android:text="setVibrate"
668                        />
669	            <RadioGroup
670	                    android:id="@+id/group_vibrate"
671	                    style="@style/FieldChoices"
672	                    >
673	                <RadioButton
674	                        android:id="@+id/vibrate_none"
675	                        style="@style/FieldContents"
676	                        android:text="none"
677	                        />
678	                <RadioButton
679	                        android:id="@+id/vibrate_zero"
680	                        style="@style/FieldContents"
681	                        android:text="0"
682	                        />
683	                <RadioButton
684	                        android:id="@+id/vibrate_short"
685	                        style="@style/FieldContents"
686	                        android:text="100"
687	                        />
688	                <RadioButton
689	                        android:id="@+id/vibrate_long"
690	                        style="@style/FieldContents"
691	                        android:text="1000"
692	                        />
693	                <RadioButton
694	                        android:id="@+id/vibrate_pattern"
695	                        style="@style/FieldContents"
696	                        android:text="...---..."
697	                        />
698	            </RadioGroup>
699			</LinearLayout>            
700
701            <!-- setLights -->
702            <LinearLayout
703                style="@style/FieldGroup"
704                >
705                <TextView
706                        style="@style/FieldTitle"
707                        android:text="setLights (color)"
708                        />
709                <RadioGroup
710                        android:id="@+id/group_lights_color"
711                        style="@style/FieldChoices"
712                        >
713                    <RadioButton
714                            android:id="@+id/lights_red"
715                            style="@style/FieldContents"
716                            android:text="red"
717                            android:tag="0xff0000"
718                            />
719                    <RadioButton
720                            android:id="@+id/lights_green"
721                            style="@style/FieldContents"
722                            android:text="green"
723                            android:tag="0x00ff00"
724                            />
725                    <RadioButton
726                            android:id="@+id/lights_blue"
727                            style="@style/FieldContents"
728                            android:text="blue"
729                            android:tag="0x0000ff"
730                            />
731                    <RadioButton
732                            android:id="@+id/lights_cyan"
733                            style="@style/FieldContents"
734                            android:text="cyan"
735                            android:tag="0x00ffff"
736                            />
737                    <RadioButton
738                            android:id="@+id/lights_magenta"
739                            style="@style/FieldContents"
740                            android:text="magenta"
741                            android:tag="0xff00ff"
742                            />
743                    <RadioButton
744                            android:id="@+id/lights_yellow"
745                            style="@style/FieldContents"
746                            android:text="yellow"
747                            android:tag="0xffff00"
748                            />
749                    <RadioButton
750                            android:id="@+id/lights_white"
751                            style="@style/FieldContents"
752                            android:text="white"
753                            android:tag="0xffffff"
754                            />
755                </RadioGroup>
756            </LinearLayout>
757
758            <!-- setPriority -->
759            <LinearLayout
760                style="@style/FieldGroup"
761                >
762                <TextView
763                        style="@style/FieldTitle"
764                        android:text="setPriority"
765                        />
766	            <RadioGroup
767	                    android:id="@+id/group_priority"
768	                    style="@style/FieldChoices"
769	                    >
770	                <RadioButton
771	                        android:id="@+id/pri_max"
772	                        style="@style/FieldContents"
773	                        android:text="MAX"
774	                        />
775	                <RadioButton
776	                        android:id="@+id/pri_high"
777	                        style="@style/FieldContents"
778	                        android:text="HIGH"
779	                        />
780	                <RadioButton
781	                        android:id="@+id/pri_default"
782	                        style="@style/FieldContents"
783	                        android:text="DEFAULT"
784	                        />
785	                <RadioButton
786	                        android:id="@+id/pri_low"
787	                        style="@style/FieldContents"
788	                        android:text="LOW"
789	                        />
790	                <RadioButton
791	                        android:id="@+id/pri_min"
792	                        style="@style/FieldContents"
793	                        android:text="MIN"
794	                        />
795	            </RadioGroup>
796			</LinearLayout>            
797
798            <!-- setLights -->
799            <LinearLayout
800                style="@style/FieldGroup"
801                >
802                <TextView
803                        style="@style/FieldTitle"
804                        android:text="setLights (blink)"
805                        />
806                <RadioGroup
807                        android:id="@+id/group_lights_blink"
808                        style="@style/FieldChoices"
809                        >
810                    <RadioButton
811                            android:id="@+id/lights_off"
812                            style="@style/FieldContents"
813                            android:text="off"
814                            />
815                    <RadioButton
816                            android:id="@+id/lights_slow"
817                            style="@style/FieldContents"
818                            android:text="slow"
819                            />
820                    <RadioButton
821                            android:id="@+id/lights_fast"
822                            style="@style/FieldContents"
823                            android:text="fast"
824                            />
825                    <RadioButton
826                            android:id="@+id/lights_on"
827                            style="@style/FieldContents"
828                            android:text="on"
829                            />
830                </RadioGroup>
831            </LinearLayout>
832
833            <!-- flags -->
834            <LinearLayout
835                style="@style/FieldGroup"
836                android:layout_marginTop="30dp"
837                >
838                <TextView
839                        style="@style/FieldTitle"
840                        android:text="flags"
841                        />
842                <LinearLayout
843                        style="@style/FieldChoices"
844                        >
845                    <CheckBox
846                            android:id="@+id/flag_ongoing"
847                            style="@style/FieldContents"
848                            android:text="ongoing"
849                            />
850                    <CheckBox
851                            android:id="@+id/flag_once"
852                            style="@style/FieldContents"
853                            android:text="onlyAlertOnce"
854                            />
855                    <CheckBox
856                            android:id="@+id/flag_auto_cancel"
857                            style="@style/FieldContents"
858                            android:text="autoCancel"
859                            />
860                </LinearLayout>
861            </LinearLayout>
862
863            <!-- defaults -->
864            <LinearLayout
865                style="@style/FieldGroup"
866                >
867                <TextView
868                        style="@style/FieldTitle"
869                        android:text="defaults"
870                        />
871                <LinearLayout
872                        style="@style/FieldChoices"
873                        >
874                    <CheckBox
875                            android:id="@+id/default_sound"
876                            style="@style/FieldContents"
877                            android:text="sound"
878                            />
879                    <CheckBox
880                            android:id="@+id/default_vibrate"
881                            style="@style/FieldContents"
882                            android:text="vibrate"
883                            />
884                    <CheckBox
885                            android:id="@+id/default_lights"
886                            style="@style/FieldContents"
887                            android:text="lights"
888                            />
889                </LinearLayout>
890            </LinearLayout>
891
892            <!-- delay -->
893            <LinearLayout
894                style="@style/FieldGroup"
895                >
896                <TextView
897                        style="@style/FieldTitle"
898                        android:text="notify"
899                        />
900                <RadioGroup
901                        android:id="@+id/group_delay"
902                        style="@style/FieldChoices"
903                        >
904                    <RadioButton
905                            android:id="@+id/delay_none"
906                            style="@style/FieldContents"
907                            android:text="immediately"
908                            />
909                    <RadioButton
910                            android:id="@+id/delay_5"
911                            style="@style/FieldContents"
912                            android:text="in 5 sec"
913                            />
914                </RadioGroup>
915            </LinearLayout>
916        </LinearLayout>
917    </LinearLayout>
918
919</ScrollView>
920