OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 android:layout_width="wrap_content" | 9 android:layout_width="wrap_content" |
10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
11 android:layout_gravity="center_horizontal" | 11 android:layout_gravity="center_horizontal" |
12 android:orientation="horizontal" | 12 android:orientation="horizontal" |
13 android:gravity="center"> | 13 android:gravity="center"> |
14 | 14 |
15 <LinearLayout android:id="@+id/pickers" | 15 <LinearLayout android:id="@+id/pickers" |
16 android:layout_width="wrap_content" | 16 android:layout_width="wrap_content" |
17 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
18 android:layout_weight="1" | 18 android:layout_weight="1" |
19 android:orientation="horizontal" | 19 android:orientation="horizontal" |
20 android:gravity="center"> | 20 android:gravity="center"> |
21 | 21 |
22 <!-- Month --> | 22 <!-- Month --> |
23 <NumberPicker | 23 <NumberPicker |
24 android:id="@+id/month" | 24 android:id="@+id/month" |
25 android:layout_width="wrap_content" | 25 android:layout_width="wrap_content" |
26 android:layout_height="wrap_content" | 26 android:layout_height="wrap_content" |
27 android:layout_marginLeft="16dip" | 27 android:layout_marginStart="16dip" |
28 android:layout_marginRight="16dip" | 28 android:layout_marginEnd="16dip" |
29 android:focusable="true" | 29 android:focusable="true" |
30 android:focusableInTouchMode="true" | 30 android:focusableInTouchMode="true" |
31 android:contentDescription="@string/accessibility_date_picker_month" | 31 android:contentDescription="@string/accessibility_date_picker_month" |
32 /> | 32 /> |
33 | 33 |
34 <!-- Year --> | 34 <!-- Year --> |
35 <NumberPicker | 35 <NumberPicker |
36 android:id="@+id/year" | 36 android:id="@+id/year" |
37 android:layout_width="wrap_content" | 37 android:layout_width="wrap_content" |
38 android:layout_height="wrap_content" | 38 android:layout_height="wrap_content" |
39 android:layout_marginLeft="16dip" | 39 android:layout_marginStart="16dip" |
40 android:layout_marginRight="16dip" | 40 android:layout_marginEnd="16dip" |
41 android:focusable="true" | 41 android:focusable="true" |
42 android:focusableInTouchMode="true" | 42 android:focusableInTouchMode="true" |
43 android:contentDescription="@string/accessibility_date_picker_year" | 43 android:contentDescription="@string/accessibility_date_picker_year" |
44 /> | 44 /> |
45 | 45 |
46 </LinearLayout> | 46 </LinearLayout> |
47 | 47 |
48 </LinearLayout> | 48 </LinearLayout> |
OLD | NEW |