Fix year picker initial range

BUG: 19410328
Change-Id: I2a2952eb58eb856f93b7af2f49e08abe71078aa9
This commit is contained in:
Alan Viverette
2015-02-17 13:09:04 -08:00
parent 024fd0c605
commit 2a90fa6d94

View File

@@ -192,6 +192,7 @@ class DatePickerCalendarDelegate extends DatePicker.AbstractDatePickerDelegate i
mYearPickerView = new YearPickerView(mContext);
mYearPickerView.init(this);
mYearPickerView.setRange(mMinDate, mMaxDate);
final int yearSelectedCircleColor = a.getColor(R.styleable.DatePicker_yearListSelectorColor,
defaultHighlightColor);