1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/TodoEditLayout"
4 android:layout_width="fill_parent"
5 android:layout_height="fill_parent"
6 android:background="@drawable/morphossbg"
7 android:orientation="vertical" >
9 android:id="@+id/TodoEditBelowTitleLayout"
10 android:layout_width="match_parent"
11 android:layout_height="0dp"
12 android:layout_weight="1"
13 android:orientation="horizontal" >
16 android:id="@+id/TodoEditColourBar"
17 android:layout_width="13sp"
18 android:layout_height="fill_parent"
19 android:background="#704080f0" >
22 android:layout_width="0dp"
23 android:layout_height="wrap_content"
24 android:layout_weight="1" >
26 android:id="@+id/TodoEditDataLayout"
27 android:layout_width="fill_parent"
28 android:layout_height="wrap_content"
29 android:orientation="vertical" >
32 android:id="@+id/TodoName"
33 android:layout_width="fill_parent"
34 android:layout_height="wrap_content"
35 android:layout_marginBottom="1dp"
36 android:hint="@string/todo_name_hint"
37 android:inputType="textCapSentences|textAutoCorrect|textEmailSubject"
38 android:textSize="24sp" >
42 android:id="@+id/TodoNotesContent"
43 style="@style/todo_view_content"
44 android:layout_width="fill_parent"
45 android:layout_height="wrap_content"
46 android:layout_below="@+id/TodoName"
47 android:layout_marginBottom="1dp"
49 android:hint="@string/todo_description_hint"
50 android:inputType="textMultiLine|textCapSentences|textLongMessage|textAutoCorrect"
52 android:minWidth="100sp" >
55 android:id="@+id/TodoDatesLayout"
56 android:layout_width="fill_parent"
57 android:layout_height="wrap_content"
58 android:layout_below="@+id/TodoNotesContent"
59 android:orientation="vertical"
60 android:paddingBottom="0sp" >
61 <!-- Until Content -->
63 android:id="@+id/TodoUntilLayout"
64 android:layout_width="fill_parent"
65 android:layout_height="wrap_content"
66 android:paddingBottom="3sp" >
69 android:id="@+id/TodoDueLabel"
70 style="@style/todo_view_label"
71 android:layout_width="70dp"
72 android:layout_height="fill_parent"
73 android:gravity="center_vertical"
74 android:text="@string/DuePrompt" />
76 android:layout_width="0dp"
77 android:layout_height="wrap_content"
78 android:layout_marginRight="10sp"
79 android:layout_weight="3"
80 android:background="@color/themed_button_colour" >
82 android:id="@+id/TodoDueDateTime"
83 style="@style/themed_button_big"
84 android:layout_width="fill_parent"
85 android:layout_height="wrap_content"
86 android:minHeight="30sp"
87 android:text="@string/placeholderDateAndTime" />
92 android:id="@+id/TodoFromLayout"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:layout_below="@+id/TodoUntilLayout"
96 android:paddingBottom="3sp" >
98 android:id="@+id/TodoFromLabel"
99 style="@style/todo_view_label"
100 android:layout_width="70dp"
101 android:layout_height="fill_parent"
102 android:gravity="center_vertical"
103 android:text="@string/TodoFromPrompt" />
105 android:layout_width="0dp"
106 android:layout_height="wrap_content"
107 android:layout_marginRight="10sp"
108 android:layout_weight="3"
109 android:background="@color/themed_button_colour" >
111 android:id="@+id/TodoFromDateTime"
112 style="@style/themed_button_big"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:minHeight="30sp"
116 android:text="@string/placeholderDateAndTime" />
119 <!-- Completed content -->
121 android:id="@+id/TodoCompletedLayout"
122 android:layout_width="fill_parent"
123 android:layout_height="wrap_content"
124 android:layout_below="@+id/TodoFromLayout" >
126 android:id="@+id/TodoCompletedDatesLayout"
127 android:layout_width="fill_parent"
128 android:layout_height="wrap_content"
129 android:paddingBottom="2sp" >
131 android:id="@+id/TodoCompletedLabel"
132 style="@style/todo_view_label"
133 android:layout_width="70dp"
134 android:layout_height="fill_parent"
135 android:layout_gravity="center_vertical"
136 android:gravity="center_vertical"
137 android:text="@string/CompletedPrompt" />
139 android:layout_width="0dp"
140 android:layout_height="wrap_content"
141 android:layout_marginRight="10sp"
142 android:layout_weight="3"
143 android:background="@color/themed_button_colour" >
145 android:id="@+id/TodoCompletedDateTime"
146 style="@style/themed_button_big"
147 android:layout_width="fill_parent"
148 android:layout_height="wrap_content"
149 android:minHeight="30sp"
150 android:text="@string/placeholderDateAndTime" />
154 android:id="@+id/TodoCompletedPercent"
155 android:layout_width="fill_parent"
156 android:layout_height="wrap_content"
157 android:layout_below="@+id/TodoCompletedDatesLayout"
158 android:layout_centerVertical="true"
159 android:paddingBottom="0sp" >
161 android:id="@+id/TodoPercentCompleteText"
162 style="@style/todo_view_label"
163 android:layout_width="70dp"
164 android:layout_height="fill_parent"
165 android:gravity="center_vertical|center_horizontal"
166 android:text="70%" />
168 android:id="@+id/TodoPercentCompleteBar"
169 android:layout_width="fill_parent"
170 android:layout_height="wrap_content"
171 android:layout_gravity="center_vertical"
172 android:layout_marginRight="10sp"
173 android:indeterminate="false"
179 android:id="@+id/TodoLocationContent"
180 style="@style/todo_view_content"
181 android:layout_width="fill_parent"
182 android:layout_height="wrap_content"
183 android:layout_below="@id/TodoDatesLayout"
184 android:hint="@string/todo_location_hint"
185 android:inputType="textCapSentences|textPostalAddress|textAutoCorrect" />
187 android:id="@+id/TodoAlarmsLayout"
188 android:layout_width="fill_parent"
189 android:layout_height="wrap_content"
190 android:layout_below="@id/TodoLocationContent"
191 android:paddingBottom="5sp" >
193 android:id="@+id/TodoAlarmsTopLayout"
194 android:layout_width="fill_parent"
195 android:layout_height="wrap_content"
196 android:layout_gravity="left|center_vertical"
197 android:layout_marginLeft="15sp"
198 android:layout_marginRight="15sp"
199 android:background="@color/themed_button_colour" >
201 android:id="@+id/TodoAlarmsButton"
202 style="@style/themed_button"
203 android:layout_width="fill_parent"
204 android:layout_height="wrap_content"
205 android:text="@string/Add_Alarm" />
208 android:id="@+id/alarms_list_table"
209 android:layout_width="fill_parent"
210 android:layout_height="fill_parent"
211 android:layout_below="@+id/TodoAlarmsTopLayout" >
215 android:id="@+id/TodoRepeatsLayout"
216 android:layout_width="fill_parent"
217 android:layout_height="wrap_content"
218 android:layout_below="@+id/TodoAlarmsLayout"
219 android:paddingBottom="5sp" >
221 android:layout_width="fill_parent"
222 android:layout_height="wrap_content"
223 android:layout_gravity="left|center_vertical"
224 android:layout_marginLeft="15sp"
225 android:layout_marginRight="15sp"
226 android:background="@color/themed_button_colour" >
228 android:id="@+id/TodoRepeatsContent"
229 style="@style/todo_view_button"
230 android:layout_width="fill_parent"
231 android:layout_height="wrap_content"
232 android:layout_gravity="right|center_vertical"
233 android:text="@string/setRepeatRule" />
236 <!-- calandar select thingy -->
238 android:id="@+id/TodoCollectionLayout"
239 android:layout_width="fill_parent"
240 android:layout_height="wrap_content"
241 android:layout_below="@id/TodoRepeatsLayout"
242 android:paddingBottom="3sp" >
244 android:id="@+id/TodoCollectionLabel"
245 style="@style/gen_label"
246 android:layout_width="wrap_content"
247 android:layout_height="wrap_content"
248 android:layout_gravity="left|center_vertical"
250 android:paddingRight="3sp"
251 android:text="@string/CollectionPrompt" />
253 android:id="@+id/TodoEditCollectionLayout"
254 android:layout_width="fill_parent"
255 android:layout_height="wrap_content"
256 android:layout_marginRight="5sp"
257 android:background="@color/themed_button_colour" >
259 android:id="@+id/TodoEditCollectionSelect"
260 style="@style/themed_button_big"
261 android:layout_width="0dp"
262 android:layout_height="30sp"
263 android:layout_gravity="left|center_vertical"
264 android:layout_weight="1"
265 android:ellipsize="end"
266 android:maxLines="1" />
269 <!-- calandar select thingy end -->
274 android:id="@+id/button_layout"
275 android:layout_width="fill_parent"
276 android:layout_height="36dp"
277 android:layout_gravity="bottom"
278 android:background="@color/bottom_bg"
279 android:baselineAligned="true"
280 android:gravity="bottom" >
283 android:id="@+id/EventEditColourBarBottom"
284 android:layout_width="13sp"
285 android:layout_height="fill_parent"
286 android:background="#704080f0" />
288 android:layout_width="fill_parent"
289 android:layout_height="wrap_content"
290 android:layout_weight="1"
291 android:gravity="center"
292 android:padding="0sp" >
294 android:layout_width="wrap_content"
295 android:layout_height="wrap_content"
296 android:background="@color/themed_button_colour"
297 android:padding="0sp" >
299 android:id="@+id/todo_apply_button"
300 style="@style/themed_bottom_button"
301 android:layout_width="wrap_content"
302 android:layout_height="wrap_content"
303 android:layout_gravity="center"
304 android:includeFontPadding="true"
305 android:padding="0sp"
306 android:text="@string/Apply"
307 android:width="90sp" />
311 android:layout_width="fill_parent"
312 android:layout_height="wrap_content"
313 android:layout_weight="1"
314 android:gravity="center"
315 android:padding="0sp" >
317 android:layout_width="wrap_content"
318 android:layout_height="wrap_content"
319 android:background="@color/themed_button_colour"
320 android:padding="0sp" >
322 android:id="@+id/todo_cancel_button"
323 style="@style/themed_bottom_button"
324 android:layout_width="wrap_content"
325 android:layout_height="wrap_content"
326 android:layout_gravity="center"
327 android:includeFontPadding="true"
328 android:padding="0sp"
329 android:text="@string/cancel"
330 android:width="90sp" />