<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2012 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!-- ScrollView is needed since sometimes the dialog does not fit in small screen devices. -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:orientation="vertical"
android:gravity="center">
<DatePicker
android:id="@+id/date_picker"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:spinnersShown="true"
android:paddingStart="7.5dp"
android:calendarViewShown="false"
android:datePickerMode="spinner"
android:contentDescription="@string/accessibility_datetime_picker_date"
/>
<TimePicker
android:id="@+id/time_picker"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:timePickerMode="spinner"
android:contentDescription="@string/accessibility_datetime_picker_time"
/>
</LinearLayout>
</ScrollView>