1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2007, The Android Open Source Project
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
10 ** http://www.apache.org/licenses/LICENSE-2.0
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.
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.
25 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
26 android:layout_width="fill_parent"
27 android:layout_height="fill_parent"
28 android:layout_gravity="center_horizontal"
29 android:orientation="horizontal"
30 android:gravity="center">
32 <LinearLayout android:id="@+id/pickers"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:layout_weight="1"
36 android:orientation="horizontal"
37 android:gravity="center">
41 android:id="@+id/month"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:layout_marginStart="1dip"
45 android:layout_marginEnd="1dip"
46 android:focusable="true"
47 android:focusableInTouchMode="true"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_marginStart="1dip"
56 android:layout_marginEnd="1dip"
57 android:focusable="true"
58 android:focusableInTouchMode="true"
63 android:id="@+id/year"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:layout_marginStart="1dip"
67 android:layout_marginEnd="1dip"
68 android:focusable="true"
69 android:focusableInTouchMode="true"
74 <!-- calendar view -->
76 android:id="@+id/calendar_view"
77 android:layout_width="245dip"
78 android:layout_height="280dip"
79 android:layout_marginStart="44dip"
80 android:layout_weight="1"
81 android:focusable="true"
82 android:focusableInTouchMode="true"
83 android:visibility="gone"