Answer the question
In order to leave comments, you need to log in
How to select date programmatically in Android CalendarView?
It is necessary to recolor the color of certain dates from a Java class. But how to do it programmatically?
dateIn = userCursor.getString(userCursor.getColumnIndex("date_in"));
dateOut = userCursor.getString(userCursor.getColumnIndex("date_out"));
CalendarView calendar = (CalendarView) findViewById(R.id.calendarView);
Answer the question
In order to leave comments, you need to log in
CalendarView from Android SDK doesn't support what you want. Do not use it if customization is required.
Although people get out .
Google third-party calendars, there are plenty of them - Caldroid , Material Calendar View .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question