shrikanth7698 / Collapsible-Calendar-View-Android

Collapsible CalendarView is a simple calendar view which can be collapsed to save space and can be expanded when needed
https://shrikanth7698.github.io/Collapsible-Calendar-View-Android/
MIT License
430 stars 121 forks source link

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

Open MihirLakhia opened 4 years ago

MihirLakhia commented 4 years ago
  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?
theeasiestway commented 3 years ago

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