Removes repeat layout. Format date now works correctly
[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"
6aaa3197 25 android:textAppearance="?android:attr/textAppearanceMedium"> </TextView>
7908d49e
P
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>
7908d49e
P
107
108 </LinearLayout>
109
7908d49e 110</LinearLayout>
539deec9 111 </ScrollView>
This page took 0.01585 seconds and 4 git commands to generate.