Releases: philliphsu/BottomSheetPickers
Releases · philliphsu/BottomSheetPickers
v2.4.1
v2.4.0
- Number pad time picker changes:
- Larger text size for number keys
- Smaller text size for alt buttons (i.e. "AM"/"PM" for 12-hour mode and ":00"/":30" for 24-hour mode)
- Smaller text size for AM/PM label in header
- Improved use of locale conventions for number and time formatting
- Improved support for RTL locales
- New landscape dialog layout
- Animate color and elevation changes in the
FloatingActionButton
when enabled/disabled
GridTimePickerDialog
andNumberPadTimePickerDialog
have largerFloatingActionButton
s forsw600dp
and above
v2.3.4
Fix date picker crashing for Turkey on API 21+
v2.3.3
- Date picker:
setMinDate()
andsetMaxDate()
no longer callsetYearRange()
. - Date picker displays all 12 months for each year from
setYearRange()
regardless of min/max dates.
v2.3.2
- Fix bug where the value for XML attribute
themeDark
was not being recognized inBuilder
s. - Fix crashing on API 21+ when showing grid time picker in 24-hour mode.
v2.3.1
- Add prefix to all library resources (strings, colors, drawables, ids, layouts, etc.) to prevent resource namespace collisions from client code.
v2.3.0
- Add theming options.
- Add
Builder
APIs to each of the pickers. - Add
NumberPadTimePickerDialog.newInstance(OnTimeSetListener listener, boolean is24HourMode)
static factory method. - Change text color of day-of-week header in date picker based on selection state of month-day header.
- Change orientation of half-day
ImageButton
s inGridTimePickerDialog
for 24-hour mode. - Deprecate
BottomSheetDatePickerDialog
in favor ofDatePickerDialog
.
v2.2.0
- New appearance for grid time picker
- Date picker can now be dismissed/cancelled while in year picker
- Minor fixes on API < 17
v2.1.1
- Updated for tablets
- Changes to date picker:
- Updated landscape layout
- Minor changes to highlighting of selected date for some locales (e.g. US)
- Can now be dismissed by swiping sheet down and tapping outside sheet
- Bug fixes
- For 24-hour time users on API <21, grid time picker crashing when shown due to vector drawable issues
- Number pad time picker shows up empty for 12-hour time users whose locale translations for "AM" and "PM" are too long, so fall back on unlocalized "AM" and "PM"
v2.1.0
- Change date picker to be horizontally paging
- Minor visual improvements to date picker
- Add month picker
- Fix and release date picker APIs
setMinDate()
,setMaxDate()
,setYearRange()
,setFirstDayOfWeek()