Collapsible-Calendar-View-Android
Collapsible-Calendar-View-Android copied to clipboard
Change color of calendar icon, which brings to current date.
- can you please find better way to change or tint calendar icon(Right top corner) according App color or something?
- I tried to find any alternative, but unfortunately not found!
- can we set event drawable from application?
@MihirLakhia, you can set a custom drawable for today button using this code:
collapsableCalendar.rootView?.findViewById<ImageView>(R.id.today_icon)?.setImageResource(R.drawable.ic_calendar_today)
or you can change the tint of default drawable using this code:
collapsableCalendar.rootView?.findViewById<ImageView>(R.id.today_icon)?.setColorFilter(Color.WHITE, PorterDuff.Mode.SRC_IN)