Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top