-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added posibility of using selectors as backgrounds for specific dates
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6b22ca6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you try to use a selector as a background for specific dates in order to get a special background when that date is selected, you'll see that it's not possible. First I tried by using cellView.setSelected(true) but this doesn't help since android has it's own bug that removes that state before the view is drawn, more info here: http://stackoverflow.com/questions/12545302/gridview-adapter-getview-does-not-set-selected-state-properly