Highlighting certain dates on Android CalendarView

2019-08-30 14:57发布

问题:

This question already has an answer here:

  • Android CalendarView for Showing Events 5 answers

I am using Android's CalendarView and I need to highlight some dates. I can't find any methods to do that. Is there anything available?

回答1:

If you want to highlight a specific date, then you can call setDate().

If you want to highlight multiple dates, there are no simple method to do that. You should write your own calendar view.