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