SundeepK / CompactCalendarView

An android library which provides a compact calendar view much like the one used in google calenders.
MIT License
1.52k stars 427 forks source link

One event on day : Big circle; multiple event on a day : Big circle + little dot #357

Open Boco0711 opened 3 years ago

Boco0711 commented 3 years ago

Hello, first thing first : very good job on that library, it's efficient and very easy to use.

I have an app that require two things, and i am not able to do it currently

First issue i have is that i am only able to display either small dot or big one. but i would like to : Display one big dot if day have only one event Display one big dot and 1 to 3 little dots if the day have multiple event.

Second issue i have is when user select a day that have an event, i would like to change the big dot to a circular dot but the center of that dot is coloured. Currently i set app:compactCalendarCurrentSelectedDayIndicatorStyle="no_fill_large_indicator" the color is depending on the first event color in that day ( let say it's green ) So i have a green circle surrounding a background color.

What i would like to get is a green circle and in that circle set a different color from the general background