49 lines
1.6 KiB
XML
49 lines
1.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!-- Copyright 2013 The Chromium Authors. All rights reserved.
|
||
|
|
||
|
Use of this source code is governed by a BSD-style license that can be
|
||
|
found in the LICENSE file.
|
||
|
-->
|
||
|
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:orientation="horizontal"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<LinearLayout android:id="@+id/pickers"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="horizontal"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<!-- Position in year -->
|
||
|
<NumberPicker
|
||
|
android:id="@+id/position_in_year"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:focusable="true"
|
||
|
android:focusableInTouchMode="true"
|
||
|
android:contentDescription="@string/accessibility_date_picker_month"
|
||
|
/>
|
||
|
|
||
|
<!-- Year -->
|
||
|
<NumberPicker
|
||
|
android:id="@+id/year"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:focusable="true"
|
||
|
android:focusableInTouchMode="true"
|
||
|
android:contentDescription="@string/accessibility_date_picker_year"
|
||
|
/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|