]>
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 | ||
28 | <EditText | |
29 | android:inputType="time" | |
30 | android:id="@+id/time_start" | |
31 | android:layout_width="wrap_content" | |
32 | android:layout_height="wrap_content" | |
33 | android:onClick="showTimePickerDialog" | |
34 | android:text="@string/pick_time" | |
35 | android:layout_weight="1" | |
36 | android:ems="10" | |
37 | android:focusable="false" | |
38 | /> | |
39 | <EditText | |
40 | android:inputType="date" | |
41 | android:id="@+id/date_start" | |
42 | android:layout_width="wrap_content" | |
43 | android:layout_height="wrap_content" | |
44 | android:onClick="showTimePickerDialog" | |
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 | ||
63 | <EditText | |
64 | android:inputType="time" | |
65 | android:id="@+id/time_end" | |
66 | android:layout_width="wrap_content" | |
67 | android:layout_height="wrap_content" | |
68 | android:onClick="showTimePickerDialog" | |
69 | android:text="@string/pick_time" | |
70 | android:layout_weight="1" | |
71 | android:ems="10" | |
72 | android:focusable="false" | |
73 | /> | |
74 | <EditText | |
75 | android:inputType="date" | |
76 | android:id="@+id/date_end" | |
77 | android:layout_width="wrap_content" | |
78 | android:layout_height="wrap_content" | |
79 | android:onClick="showTimePickerDialog" | |
80 | android:text="@string/pick_date" | |
81 | android:layout_weight="1" | |
82 | android:ems="10" | |
83 | android:focusable="false" | |
84 | /> | |
85 | ||
86 | </LinearLayout> | |
87 | ||
6d7e08bf | 88 | </LinearLayout> |