]>
Commit | Line | Data |
---|---|---|
6d7e08bf PT |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | android:layout_width="match_parent" | |
4 | android:layout_height="match_parent" | |
5 | android:orientation="vertical" > | |
6 | ||
7 | <EditText | |
8 | android:inputType="text" | |
9 | android:id="@+id/eventtitle" | |
10 | android:layout_width="match_parent" | |
11 | android:layout_height="wrap_content" | |
12 | android:hint="@string/eventname" | |
13 | android:ems="10" > | |
14 | ||
15 | <requestFocus /> | |
16 | </EditText> | |
17 | ||
e6ba41a8 PT |
18 | <TextView |
19 | android:layout_width="match_parent" | |
20 | android:layout_height="wrap_content" | |
21 | android:text="@string/start_label" | |
22 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
23 | ||
24 | <LinearLayout | |
25 | android:layout_width="match_parent" | |
26 | android:layout_height="wrap_content" > | |
27 | ||
d5949ded MG |
28 | <TextView |
29 | style="@android:style/Widget.DeviceDefault.EditText" | |
e6ba41a8 PT |
30 | android:id="@+id/time_start" |
31 | android:layout_width="wrap_content" | |
32 | android:layout_height="wrap_content" | |
d5949ded | 33 | android:onClick="showDateTimePickerDialog" |
e6ba41a8 PT |
34 | android:text="@string/pick_time" |
35 | android:layout_weight="1" | |
36 | android:ems="10" | |
37 | android:focusable="false" | |
38 | /> | |
d5949ded MG |
39 | <TextView |
40 | style="@android:style/Widget.DeviceDefault.EditText" | |
e6ba41a8 PT |
41 | android:id="@+id/date_start" |
42 | android:layout_width="wrap_content" | |
43 | android:layout_height="wrap_content" | |
d5949ded | 44 | android:onClick="showDateTimePickerDialog" |
e6ba41a8 PT |
45 | android:text="@string/pick_date" |
46 | android:layout_weight="1" | |
47 | android:ems="10" | |
48 | android:focusable="false" | |
49 | /> | |
50 | ||
51 | </LinearLayout> | |
52 | ||
53 | <TextView | |
54 | android:layout_width="match_parent" | |
55 | android:layout_height="wrap_content" | |
56 | android:text="@string/end_label" | |
57 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
58 | ||
59 | <LinearLayout | |
60 | android:layout_width="match_parent" | |
61 | android:layout_height="wrap_content" > | |
62 | ||
d5949ded MG |
63 | <TextView |
64 | style="@android:style/Widget.DeviceDefault.EditText" | |
e6ba41a8 PT |
65 | android:id="@+id/time_end" |
66 | android:layout_width="wrap_content" | |
67 | android:layout_height="wrap_content" | |
d5949ded | 68 | android:onClick="showDateTimePickerDialog" |
e6ba41a8 PT |
69 | android:text="@string/pick_time" |
70 | android:layout_weight="1" | |
71 | android:ems="10" | |
72 | android:focusable="false" | |
73 | /> | |
d5949ded MG |
74 | <TextView |
75 | style="@android:style/Widget.DeviceDefault.EditText" | |
e6ba41a8 PT |
76 | android:id="@+id/date_end" |
77 | android:layout_width="wrap_content" | |
78 | android:layout_height="wrap_content" | |
d5949ded | 79 | android:onClick="showDateTimePickerDialog" |
e6ba41a8 PT |
80 | android:text="@string/pick_date" |
81 | android:layout_weight="1" | |
82 | android:ems="10" | |
83 | android:focusable="false" | |
84 | /> | |
85 | ||
86 | </LinearLayout> | |
87 | ||
4600371c PT |
88 | <LinearLayout |
89 | android:layout_width="match_parent" | |
90 | android:layout_height="wrap_content" > | |
91 | ||
92 | <TextView | |
93 | android:layout_width="wrap_content" | |
94 | android:layout_height="wrap_content" | |
95 | android:text="@string/repeat" | |
96 | android:layout_weight="1" | |
97 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
98 | ||
99 | <Switch | |
100 | android:id="@+id/repeat_switch" | |
101 | android:layout_weight="1" | |
102 | android:layout_width="wrap_content" | |
103 | android:layout_height="wrap_content" /> | |
104 | ||
105 | </LinearLayout> | |
106 | ||
361c6a28 PT |
107 | <LinearLayout |
108 | android:layout_width="match_parent" | |
2821d13f | 109 | android:layout_height="wrap_content" |
361c6a28 PT |
110 | android:id="@+id/repeat_layout" |
111 | android:orientation="vertical" > | |
361c6a28 PT |
112 | |
113 | <LinearLayout | |
408a6278 PT |
114 | android:layout_width="wrap_content" |
115 | android:layout_height="wrap_content" | |
116 | android:layout_gravity="left" > | |
361c6a28 PT |
117 | |
118 | <TextView | |
361c6a28 PT |
119 | android:layout_width="wrap_content" |
120 | android:layout_height="wrap_content" | |
121 | android:text="@string/repeat_every" | |
122 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
123 | ||
124 | <EditText | |
408a6278 | 125 | android:id="@+id/repeat_time" |
361c6a28 PT |
126 | android:layout_width="0dip" |
127 | android:layout_height="wrap_content" | |
128 | android:layout_weight="1" | |
408a6278 PT |
129 | android:ems="4" |
130 | android:text="1" | |
361c6a28 PT |
131 | android:inputType="number" /> |
132 | ||
408a6278 PT |
133 | <Spinner |
134 | android:id="@+id/repeat_spinner" | |
135 | android:entries="@array/repeat_array_p" | |
136 | android:layout_width="match_parent" | |
137 | android:layout_height="wrap_content" | |
138 | /> | |
361c6a28 PT |
139 | |
140 | </LinearLayout> | |
141 | ||
142 | <LinearLayout | |
408a6278 PT |
143 | android:id="@+id/repeat_count_layout" |
144 | android:layout_gravity="left" | |
145 | android:layout_width="wrap_content" | |
361c6a28 PT |
146 | android:layout_height="wrap_content" > |
147 | ||
148 | <Spinner | |
149 | android:id="@+id/repeat_type" | |
150 | android:entries="@array/repeat_type_array" | |
151 | android:layout_width="0dip" | |
152 | android:layout_height="wrap_content" | |
153 | android:layout_weight="1" /> | |
24e0eeef PT |
154 | <EditText |
155 | android:id="@+id/repeat_count" | |
156 | android:inputType="number" | |
157 | android:layout_width="wrap_content" | |
158 | android:layout_height="wrap_content" | |
159 | android:visibility="gone" | |
160 | /> | |
361c6a28 PT |
161 | |
162 | </LinearLayout> | |
163 | </LinearLayout> | |
6d7e08bf | 164 | </LinearLayout> |