]> iEval git - unical.git/blame - res/layout/add_event.xml
Now events are added to calendar. Edit also works now
[unical.git] / res / layout / add_event.xml
CommitLineData
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"
89 android:ems="10"
90 android:focusable="false"
91 />
92
93 </LinearLayout>
94
95 <LinearLayout
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content" >
98 <EditText
99 android:id="@+id/description"
100 android:layout_width="match_parent"
101 android:layout_height="wrap_content"
102 android:ems="10"
103 android:hint="@string/description"
104 android:inputType="textMultiLine" >
105
106 <requestFocus />
107 </EditText>
108 <TextView
109 android:layout_width="wrap_content"
110 android:layout_height="wrap_content"
111 android:text="@string/repeat"
112 android:layout_weight="1"
113 android:textAppearance="?android:attr/textAppearanceMedium" />
114
115 <Switch
116 android:id="@+id/repeat_switch"
117 android:layout_weight="1"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content" />
120
121 </LinearLayout>
122
123 <LinearLayout
124 android:layout_width="match_parent"
125 android:layout_height="wrap_content"
126 android:id="@+id/repeat_layout"
127 android:orientation="vertical" >
128
129 <LinearLayout
130 android:layout_width="wrap_content"
131 android:layout_height="wrap_content"
132 android:layout_gravity="left" >
133
134 <TextView
135 android:layout_width="wrap_content"
136 android:layout_height="wrap_content"
137 android:text="@string/repeat_every"
138 android:textAppearance="?android:attr/textAppearanceMedium" />
139
140 <EditText
141 android:id="@+id/repeat_time"
142 android:inputType="number"
143 android:layout_width="wrap_content"
144 android:layout_height="wrap_content" />
145
146 <Spinner
147 android:id="@+id/repeat_spinner"
148 android:entries="@array/repeat_array_p"
149 android:layout_width="match_parent"
150 android:layout_height="wrap_content"
151 />
152
153 </LinearLayout>
154
155 <LinearLayout
156 android:id="@+id/repeat_count_layout"
157 android:layout_gravity="left"
158 android:layout_width="wrap_content"
159 android:layout_height="wrap_content" >
160
161 <Spinner
162 android:id="@+id/repeat_type"
163 android:entries="@array/repeat_type_array"
164 android:layout_width="0dip"
165 android:layout_height="wrap_content"
166 android:layout_weight="1" />
167 <EditText
168 android:id="@+id/repeat_count"
169 android:inputType="number"
170 android:layout_width="wrap_content"
171 android:layout_height="wrap_content"
172 android:visibility="gone" />
173 <TextView
174 style="@android:style/Widget.DeviceDefault.EditText"
175 android:id="@+id/repeat_until"
176 android:layout_width="wrap_content"
177 android:layout_height="wrap_content"
178 android:onClick="showDateTimePickerDialog"
179 android:ems="8"
180 android:visibility="gone" />
181 </LinearLayout>
7908d49e
P
182 </LinearLayout>
183</LinearLayout>
184 </ScrollView>
This page took 0.032205 seconds and 4 git commands to generate.