Change date color of specific date - android

I have used https://github.com/SundeepK/CompactCalendarView calendar component in my project. I want to change the color of some particular dates in calendar. Can anyone help me with this.

Related

date picker with text as default values until user changes date

Is there any way to achieve below using android DatePicker api.
To have custom text e.g.. SELECT at the place of date, month and year by default ?

Can calendar view of datepicker be manually set in android?

I am developing a perpetual calendar application in android. I need to manually set the position of dates in calendar view of the datepicker upon user's selection of year and month values.
Currently, if I use a datepicker, it shows me with the system's date and months.
How can I customize it for above requirement.
If there is any way of doing it, please suggest, otherwise I am thinking of adding 31 labels for displaying the each date of the month, which I guess is not an appropriate method.
use can set the particular date on Datepicker by using DatePicker.setMonth and
DatePicker.setYear methods.

How to select date range from CalendarView in android?

I need to select more than once date from a CalenderView of android. Can any one help me to do the same.
Example!
Let's look attached image. If we consider the calender in image as CalenderView of android I need to select all date raging from 16th to 20th.
As far as I know the CalendarView only supports selecting single dates.
I would suggest calling it twice to get the start and end dates (for the end date, you could call setMinDate() beforehand to make sure it's greater than the start date).

Android Custom CalendarView Event Color

I am using android CalendarView, I need to highlight some dates on the calendar, couldn't find any methods to do that, is there any tweak availalbe
if i can save some events on native calendar then would the calendarview will highlight those dates ?
Unfortunately there is no way to highlight dates or events in the CalendarView, it's just for selecting dates.
However there are other libraries you can use such as:
android-calendar-view
Caldro

How can i change color of Saturdays and Sundays in Calender dates?

I want change the color of Saturdays and Sundays in a Calendar Control in Android .how can it possible please provide any sample code for that?
Thanks in Advance......

Categories

Resources