You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sample app, we have state list drawable my_selector (In example MySelectorDecorator using this selector )
Inside of which, we have defined states when user select a date , it will decorate the drawable on selected date and remaining will be transparent but what if I want show drawable for rest but when selected make it transparent or different color?
the result is unexpected, it shows all dates are decorated and when we press on a date ,if it is transparent nothing will change but if we have used some different color says orange , it will blink orange for a milli sec and goes away. Why states aren't maintained? Am I missing something? How can I achieve the expected behavior?
The text was updated successfully, but these errors were encountered:
In sample app, we have state list drawable my_selector (In example MySelectorDecorator using this selector )
Inside of which, we have defined states when user select a date , it will decorate the drawable on selected date and remaining will be transparent but what if I want show drawable for rest but when selected make it transparent or different color?
the result is unexpected, it shows all dates are decorated and when we press on a date ,if it is transparent nothing will change but if we have used some different color says orange , it will blink orange for a milli sec and goes away. Why states aren't maintained? Am I missing something? How can I achieve the expected behavior?
The text was updated successfully, but these errors were encountered: