- Adds support for using a theme attribute for tsquare_dayTextColor
- New language: Ukranian
- New: custom cells (using a DayViewAdapter) can now have taller contents than the default 1x1 cell.
- Improved:
tsquare_displayAlwaysDigitNumbersnow also applies to the year in Burmese/Arabic
- Improved: better month name formatting for Chinese/Japenese.
- New:
tsquare_displayAlwaysDigitNumbersto override the locale setting and show digits on day cells.
- New:
tsquare_titleTextStyleallows full styling of the month title view - Removed:
tsquare_titleTextColor(usetsquare_titleTextStyleinstead)
- New:
tsquare_displayDayNamesHeaderRowallows hiding the day names header row
- New: withMonthsReverseOrder for reversing the order of months
- New: RangeState is now accessible so getRangeState actually works
- New language: Esperanto
- New: clearSelectedDates() method so you can clear an entire RANGE
- Improved: significant performance improvement for large calendar ranges
- New: isHighlighted() and getRangeState()
- New: Support for specifying the timezone
- New languages: Serbian and Russian!
- New: Support for arabic numbers
- New: Performance improvement in CalendarCellView
- New: Support for completely custom cell views
- New: Support for a custom "highlighted" color
- New language: Polish!
- Convert build to gradle to hopefully fix another support-library issue.
- Fix: compatibility with appcompat 23
- New: Right-To-Left layout support.
- Fix: applying decorators after views are rendered now works
- New: CalendarCellView accessors for various states. Useful for CalendarCellDecorator implementation.
- New:
CalendarCellDecorator- Flexibility to do whatever custom logic you want on top of our cells. - New:
clearHighlightedDates()- Unhighlights all previously highlighted days. - New:
scrollToDate(Date date)- Scroll to the month that given date belongs to. - New:
containsDate(List<Calendar> selectedCals, Date date)- if date is within selectedCals - Fix: When calculating cell width, make sure to cover all of totalWidth.
- New: Use CellClickInterceptor to implement custom cell-click logic
- Fix: Correct default header/title text colors.
- Fix: Disallow passing > 2 dates to withSelectedDates when in RANGE mode.
- New: Individual typeface options for the header and days.
- Fix: Prevent warnings which might have been logged about relayout.
- New: Styling options for typeface, hiding the header, and specifying a divider.
- New:
setShortWeekdaysmethod allows supplying alternate day names in accordance withDateFormatSymbols.setShortWeekdays.
- Fix: Revert to older maven-android-plugin to fix .aar artifact.
- New: Better support for theming the widget.
- New: Optional smooth scroll support for
selectDate. - Fix: Properly clear highlighted dates when initializing the widget.
- Fix: Ensure cell drawables properly invalidate on state change.
- Fix: Revert to older maven-android-plugin to fix .aar artifact.
- New:
OnDateSelectedlistener. - New:
setSelectedDateinitialization method. - New: Multi-date selection and range selection modes.
- New:
OnDateConfiguredListenercontrols which dates are selectable along withOnInvalidDateSelectedListenerwhen an invalid date selection is attempted. - New: Use custom selector states for styling.
- Fix: Use standalone month name when supported.
- Fix: Use current calendar's proper first day of week.
- Fix: scroll to selected date after init.
- Fix: Months with no selectable dates are no longer displayed.
- Fix:
NullPointerExceptionwhen clicking on day headers. - Fix: Better row measurement cachine.
Initial release.