summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kouji Shiotani <kouji.x.shiotani@sonymobile.com> 2016-12-05 18:37:39 +0000
committer android-build-merger <android-build-merger@google.com> 2016-12-05 18:37:39 +0000
commit6a9d84deaf6feb173f1f3cc6e69aa3426a125bbb (patch)
tree3a71c277e0a92e35cc8fa6e96b217abe434f9532
parente6a8d3835cfefee3f3eff6b3c2795d954c8a7a23 (diff)
parente0349a49f317640a67fec0f32e392e13943db687 (diff)
To enable scroll function at DatePickerDialog am: 6b04f11100
am: e0349a49f3 Change-Id: I9e3534bf470a295efbb9f545e14690819ff1adbd
-rw-r--r--core/res/res/layout/date_picker_material.xml16
1 files changed, 11 insertions, 5 deletions
diff --git a/core/res/res/layout/date_picker_material.xml b/core/res/res/layout/date_picker_material.xml
index 763f2a416bfb..dd8a45d26172 100644
--- a/core/res/res/layout/date_picker_material.xml
+++ b/core/res/res/layout/date_picker_material.xml
@@ -25,10 +25,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
- <include
- layout="@layout/date_picker_view_animator_material"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
+ <ScrollView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:fadeScrollbars="false"
+ android:scrollIndicators="top|bottom">
+ <include
+ layout="@layout/date_picker_view_animator_material"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+ </ScrollView>
</LinearLayout>