To enable scroll function at DatePickerDialog

Symptom:
Some date is truncated so can't be selected when setting
display size as large.

Root cause:
For DatePickerDialog can not scroll, not be displayed depending
on the display size.

Solution:
To enable scroll function at DatePickerDialog

Bug: 32533274

Change-Id: I1bb4d024a6b26c00febe35279f442b6aba24458c
This commit is contained in:
Kouji Shiotani
2016-10-19 20:59:26 +09:00
committed by Alan Viverette
parent c8d6603644
commit 6b04f11100

View File

@@ -25,10 +25,16 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<include <ScrollView
layout="@layout/date_picker_view_animator_material" android:layout_width="wrap_content"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="0dp" android:fadeScrollbars="false"
android:layout_weight="1" /> 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> </LinearLayout>