CalendarView Out of Range Dates

筅森魡賤 提交于 2021-01-28 12:23:51

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/19801071/calendarview-out-of-range-dates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!