i want to change some days background color to other color but it doesnt work that i expect
val calendarView: CalendarView = attendanceInquiryBinding.attendanceCalendarView
val calendar = Calendar.getInstance()
calendar.set(Calendar.YEAR, 2024)
calendar.set(Calendar.MONTH, Calendar.FEBRUARY)
calendar.set(Calendar.DAY_OF_MONTH, 15)
val greenBackgroundDrawable = ColorDrawable(resources.getColor(R.color.greencal))
val eventDay = EventDay(calendar, greenBackgroundDrawable)
val eventDaysList = mutableListOf<EventDay>()
eventDaysList.add(eventDay)
calendarView.setEvents(eventDaysList)
val list = listOf(
CalendarDay(calendar).apply {
// labelColor = [color resource]
backgroundResource = R.drawable.calendar_selected
}
)
calendarView.setCalendarDays(list)
thats my code but it has empty space like this enter image description here what can i do to fill up the color of the background