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

setting background color for now and selected date. #7

Closed
ManuBabu opened this issue Mar 23, 2017 · 1 comment
Closed

setting background color for now and selected date. #7

ManuBabu opened this issue Mar 23, 2017 · 1 comment

Comments

@ManuBabu
Copy link

ManuBabu commented Mar 23, 2017

Hi @rameshvoltella,
i am trying to customize background color for current date and selected date item,
since the parameter we need to pass is string , i tried these things didn't worked for me.

  1. args.putString(RWeekCalendar.DATE_SELECTOR_BACKGROUND, "90A4AE");
  2. args.putString(RWeekCalendar.DATE_SELECTOR_BACKGROUND, "#90A4AE");
  3. args.putString(RWeekCalendar.DATE_SELECTOR_BACKGROUND, "now_background_olor");// name of color variable in R file.

Please clarify me what parameter to pass for this instruction.
Thanks

@antoniomerlin
Copy link

By using this above argument u can only change the color of circular drawable representing selected date;
args.putString(RWeekCalendar.DATE_SELECTOR_BACKGROUND, "bg_green");

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

3 participants