Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the style of Android Calendar View

I am using a calendar view inside a dialog fragment .I am getting the one as shown below. I am using the default calendarview provided.

Actual Calendar View

But instead i want to get a calendar view as this one , which is shown by default in xml when i add:

Desired Calndar View

I have tried changing the style to Widget.DeviceDefault.Light.CalendarView , Widget.Material.CalendarView but with same effect.

like image 222
Gaurav Avatar asked Jan 29 '26 17:01

Gaurav


1 Answers

If you're using prolificinteractive materialcalendarview library, to change header style for year and month.

check my answer here: How can I change Android MaterialCalendarView month color?

like image 179
Akhtar Khan Avatar answered Jan 31 '26 07:01

Akhtar Khan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!