Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 **
4 ** Copyright 2007, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 ** http://www.apache.org/licenses/LICENSE-2.0
11 **
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
17 */
18 -->
20 <!-- Layout of date picker-->
22 <!-- Warning: everything within the "pickers" layout is removed and re-ordered
23 depending on the date format selected by the user.
24 -->
26 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
27 android:id="@+id/datetime_picker"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_gravity="center_horizontal"
31 android:orientation="horizontal"
32 android:gravity="center">
34 <LinearLayout android:id="@+id/spinners"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_weight="1"
38 android:orientation="vertical"
39 android:gravity="center">
41 <LinearLayout android:id="@+id/date_spinners"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:orientation="horizontal"
45 android:layout_marginLeft="1dip"
46 android:layout_marginRight="1dip"
47 android:layout_weight="1"
48 android:gravity="center">
50 <!-- Month -->
51 <android.widget.NumberPicker
52 android:id="@+id/month"
53 android:layout_width="60dip"
54 android:layout_height="wrap_content"
55 android:layout_marginLeft="1dip"
56 android:layout_marginRight="1dip"
57 android:focusable="true"
58 android:focusableInTouchMode="true"
59 />
61 <!-- Week -->
62 <android.widget.NumberPicker
63 android:id="@+id/week"
64 android:layout_width="60dip"
65 android:layout_height="wrap_content"
66 android:layout_marginLeft="1dip"
67 android:layout_marginRight="1dip"
68 android:focusable="true"
69 android:focusableInTouchMode="true"
70 />
72 <!-- Day -->
73 <android.widget.NumberPicker
74 android:id="@+id/day"
75 android:layout_width="60dip"
76 android:layout_height="wrap_content"
77 android:layout_marginLeft="1dip"
78 android:layout_marginRight="1dip"
79 android:focusable="true"
80 android:focusableInTouchMode="true"
81 />
83 <!-- Year -->
84 <android.widget.NumberPicker
85 android:id="@+id/year"
86 android:layout_width="75dip"
87 android:layout_height="wrap_content"
88 android:layout_marginLeft="1dip"
89 android:layout_marginRight="1dip"
90 android:focusable="true"
91 android:focusableInTouchMode="true"
92 />
94 </LinearLayout>
96 <LinearLayout android:id="@+id/time_spinners"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:orientation="horizontal"
100 android:layout_marginLeft="1dip"
101 android:layout_marginRight="1dip"
102 android:layout_weight="1"
103 android:gravity="center">
105 <!-- Hour -->
106 <android.widget.NumberPicker
107 android:id="@+id/hour"
108 android:layout_width="60dip"
109 android:layout_height="wrap_content"
110 android:layout_marginLeft="1dip"
111 android:layout_marginRight="1dip"
112 android:focusable="true"
113 android:focusableInTouchMode="true"
114 />
116 <TextView android:id="@+id/mincolon"
117 android:text=":"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_marginLeft="1dip"
121 android:layout_marginRight="1dip"/>
123 <!-- Minute -->
124 <android.widget.NumberPicker
125 android:id="@+id/minute"
126 android:layout_width="60dip"
127 android:layout_height="wrap_content"
128 android:layout_marginLeft="1dip"
129 android:layout_marginRight="1dip"
130 android:focusable="true"
131 android:focusableInTouchMode="true"
132 />
134 <!-- AMPM -->
135 <android.widget.NumberPicker
136 android:id="@+id/ampm"
137 android:layout_width="60dip"
138 android:layout_height="wrap_content"
139 android:layout_marginLeft="1dip"
140 android:layout_marginRight="1dip"
141 android:focusable="true"
142 android:focusableInTouchMode="true"
143 />
145 </LinearLayout>
147 </LinearLayout>
149 </LinearLayout>