Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MihirLakhia opened this issue Feb 6, 2020 · 1 comment
Open

Comments

@MihirLakhia
Copy link

  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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants