Revert of Revert of Now that the cq runs tests on rel, the compile-only bug should...
[chromium-blink-merge.git] / ui / android / java / res / layout-land / date_time_picker_dialog.xml
blobdc1917321a0b958c2ebe110ea11e1f1909f70570
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 2012 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 <!-- ScrollView is needed since sometimes the dialog does not fit in small screen devices. -->
9 <HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
10     android:layout_width="wrap_content"
11     android:layout_height="wrap_content">
13     <LinearLayout
14         android:layout_width="wrap_content"
15         android:layout_height="wrap_content"
16         android:layout_gravity="center_vertical"
17         android:orientation="horizontal"
18         android:gravity="center">
20         <DatePicker
21             android:id="@+id/date_picker"
22             android:layout_gravity="center_vertical"
23             android:layout_width="wrap_content"
24             android:layout_height="wrap_content"
25             android:spinnersShown="true"
26             android:calendarViewShown="false"
27             android:datePickerMode="spinner"
28             android:contentDescription="@string/accessibility_datetime_picker_date"
29             />
31         <TimePicker
32             android:id="@+id/time_picker"
33             android:layout_gravity="center_vertical"
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:timePickerMode="spinner"
37             android:contentDescription="@string/accessibility_datetime_picker_time"
38             />
40     </LinearLayout>
42 </HorizontalScrollView>