CompactCalendarView
CompactCalendarView copied to clipboard
setCurrentSelectedDayBackgroundColor not work with custom colors and small change to readme file
I saw in this issue https://github.com/SundeepK/CompactCalendarView/issues/43 that setCurrentSelectedDayBackgroundColor works with the Color class (Color.BLUE for instance) but when I try using a custom color I defined in colors.xml it doesn't work (using R.color.AccentLight for instance). I was able to get around this by using Color.parseColor("#FFFFFF") in the mean time but I thought I'd let you know.
Also in the readme file you have "compile 'com.github.sundeepk:compact-calendar-view:3.0.0' " near the bottom of the file. compile was removed from android a while ago and I just wanted to say to use implementation.
Also, I'm new to how Android does things so this may be something weird with how Android handles colors but I thought I'd mention it.
I just found out that there is this thing ContextCompat.getColor(context, R.color.your_color); which helps a lot. My point about the name change still stands