Edit event. Time now shows propperly
[unical.git] / res / layout / add_event_basic_tab.xml
CommitLineData
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"
40bf6b84 5 android:orientation="vertical" >
6d7e08bf
PT
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
d5949ded
MG
28 <TextView
29 style="@android:style/Widget.DeviceDefault.EditText"
e6ba41a8 30 android:id="@+id/time_start"
6521d8d8 31 android:freezesText="true"
e6ba41a8
PT
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 42 android:id="@+id/date_start"
6521d8d8 43 android:freezesText="true"
e6ba41a8
PT
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
d5949ded 46 android:onClick="showDateTimePickerDialog"
e6ba41a8
PT
47 android:text="@string/pick_date"
48 android:layout_weight="1"
49 android:ems="10"
50 android:focusable="false"
51 />
52
53 </LinearLayout>
54
55 <TextView
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
58 android:text="@string/end_label"
59 android:textAppearance="?android:attr/textAppearanceMedium" />
60
61 <LinearLayout
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content" >
64
d5949ded
MG
65 <TextView
66 style="@android:style/Widget.DeviceDefault.EditText"
e6ba41a8 67 android:id="@+id/time_end"
6521d8d8 68 android:freezesText="true"
e6ba41a8
PT
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
d5949ded 71 android:onClick="showDateTimePickerDialog"
e6ba41a8
PT
72 android:text="@string/pick_time"
73 android:layout_weight="1"
74 android:ems="10"
75 android:focusable="false"
76 />
d5949ded
MG
77 <TextView
78 style="@android:style/Widget.DeviceDefault.EditText"
e6ba41a8 79 android:id="@+id/date_end"
6521d8d8 80 android:freezesText="true"
e6ba41a8
PT
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
d5949ded 83 android:onClick="showDateTimePickerDialog"
e6ba41a8
PT
84 android:text="@string/pick_date"
85 android:layout_weight="1"
86 android:ems="10"
87 android:focusable="false"
88 />
89
90 </LinearLayout>
91
4600371c
PT
92 <LinearLayout
93 android:layout_width="match_parent"
94 android:layout_height="wrap_content" >
95
96 <TextView
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:text="@string/repeat"
100 android:layout_weight="1"
101 android:textAppearance="?android:attr/textAppearanceMedium" />
102
103 <Switch
104 android:id="@+id/repeat_switch"
105 android:layout_weight="1"
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content" />
108
109 </LinearLayout>
110
361c6a28
PT
111 <LinearLayout
112 android:layout_width="match_parent"
2821d13f 113 android:layout_height="wrap_content"
361c6a28
PT
114 android:id="@+id/repeat_layout"
115 android:orientation="vertical" >
361c6a28
PT
116
117 <LinearLayout
408a6278
PT
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_gravity="left" >
361c6a28
PT
121
122 <TextView
361c6a28
PT
123 android:layout_width="wrap_content"
124 android:layout_height="wrap_content"
125 android:text="@string/repeat_every"
126 android:textAppearance="?android:attr/textAppearanceMedium" />
127
128 <EditText
408a6278 129 android:id="@+id/repeat_time"
0dde5456
MG
130 android:inputType="number"
131 android:layout_width="wrap_content"
132 android:layout_height="wrap_content" />
361c6a28 133
408a6278
PT
134 <Spinner
135 android:id="@+id/repeat_spinner"
136 android:entries="@array/repeat_array_p"
137 android:layout_width="match_parent"
138 android:layout_height="wrap_content"
139 />
361c6a28
PT
140
141 </LinearLayout>
142
143 <LinearLayout
408a6278
PT
144 android:id="@+id/repeat_count_layout"
145 android:layout_gravity="left"
146 android:layout_width="wrap_content"
361c6a28
PT
147 android:layout_height="wrap_content" >
148
149 <Spinner
150 android:id="@+id/repeat_type"
151 android:entries="@array/repeat_type_array"
152 android:layout_width="0dip"
153 android:layout_height="wrap_content"
154 android:layout_weight="1" />
24e0eeef
PT
155 <EditText
156 android:id="@+id/repeat_count"
157 android:inputType="number"
158 android:layout_width="wrap_content"
159 android:layout_height="wrap_content"
0dde5456
MG
160 android:visibility="gone" />
161 <TextView
162 style="@android:style/Widget.DeviceDefault.EditText"
163 android:id="@+id/repeat_until"
164 android:layout_width="wrap_content"
165 android:layout_height="wrap_content"
166 android:onClick="showDateTimePickerDialog"
167 android:ems="8"
168 android:visibility="gone" />
361c6a28
PT
169 </LinearLayout>
170 </LinearLayout>
6d7e08bf 171</LinearLayout>
This page took 0.020674 seconds and 4 git commands to generate.