The default calendarView shows only the days between the minimum and maximum days inclusive if I set a minimum and maximum date. Is there any way to make all the days visible but have them be grayed out or do I have to create/use a separate calendarView in order to get that functionality?

有帮助吗?

解决方案

At present, this can't be done.

See Android CalendarView for Showing Events and the numerous linked questions for similar problems.

You can either create your own custom CalendarView, or use an external library that provides more functionality. The two popular ones look to be Caldroid and android-calendar-view.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top