thellmund / Android-Week-View

Display highly customizable calendar views in your Android app
Apache License 2.0
188 stars 98 forks source link

Unable to set dayBackgroundColor programmatically #232

Closed frankwangyufei closed 3 years ago

frankwangyufei commented 3 years ago

Describe the bug Unable to set dayBackgroundColor programmatically

To Reproduce

  1. Go to BasicActivity
  2. Add binding.weekView.dayBackgroundColor = Color.parseColor("#ff0000") within onCreate (line 42, for example)
  3. Install the sample app
  4. Go to Basic view
  5. The background color will not be changed (see screenshots)

Expected behavior Background is set to red

Screenshots Current result

Additional context

thellmund commented 3 years ago

Thanks for reporting these issues. I addressed them in #234 and will release the next version today.