Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / public / android / java / res / layout / two_field_date_picker.xml
blob0660251aae3a63ae90f05232ce6932df12fb26d5
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2013 The Chromium Authors. All rights reserved.
4      Use of this source code is governed by a BSD-style license that can be
5      found in the LICENSE file.
6 -->
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">
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">
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             />
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             />
46     </LinearLayout>
48 </LinearLayout>