prolificinteractive / material-calendarview

A Material design back port of Android's CalendarView
https://prolificinteractive.github.io/material-calendarview/
MIT License
5.91k stars 1.32k forks source link

Ability to show multiple dates as "pressed" #1104

Open dalewking opened 3 years ago

dalewking commented 3 years ago

So we have a week mode where the user is viewing a week at a time and we have a calendar to change the week to show. The calendar will always have an entire week selected. We get a bar around the entire week using separate decorators for beginning, middle, and end of a range.

The issue is when pressing on a date to select a different week the calendar only shows the date being clicked on in the pressed state. But in reality you are selecting the entire week so it would be nice to be able to show all 7 days in the pressed state, but there is no good way to do that without major hacking of this widget.

Here is what I am referring to:

ezgif com-gif-maker (1)