Index: content/public/android/java/res/layout/month_picker.xml |
diff --git a/content/public/android/java/res/layout/month_picker.xml b/content/public/android/java/res/layout/month_picker.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92f06298abc0a47f1dfb30b7b3220969951a8bad |
--- /dev/null |
+++ b/content/public/android/java/res/layout/month_picker.xml |
@@ -0,0 +1,48 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright (c) 2012 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"> |
+ |
+ <!-- Month --> |
+ <NumberPicker |
+ android:id="@+id/month" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_marginLeft="16dip" |
+ android:layout_marginRight="16dip" |
+ 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_marginLeft="16dip" |
+ android:layout_marginRight="16dip" |
+ android:focusable="true" |
+ android:focusableInTouchMode="true" |
+ android:contentDescription="@string/accessibility_date_picker_year" |
+ /> |
+ |
+ </LinearLayout> |
+ |
+</LinearLayout> |