Collapsible-Calendar-View-Android icon indicating copy to clipboard operation
Collapsible-Calendar-View-Android copied to clipboard

Change color of calendar icon, which brings to current date.

Open MihirLakhia opened this issue 4 years ago • 1 comments

  1. 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!
  2. can we set event drawable from application?

MihirLakhia avatar Feb 06 '20 19:02 MihirLakhia

@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)

theeasiestway avatar Oct 07 '21 09:10 theeasiestway