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