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