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

Strange flicker on click #16

Open
tzanou opened this issue Jan 22, 2016 · 0 comments
Open

Strange flicker on click #16

tzanou opened this issue Jan 22, 2016 · 0 comments

Comments

@tzanou
Copy link

tzanou commented Jan 22, 2016

ezgif com-video-to-gif 1

As shown on gif when clicking to a tag a quick flicker shows ,when I "long click" flicker doesnt happen.Thats because on getSelectorSelected() and getSelectorNormal() different states have different color so when user clicks it goes from pressed state to normal and then the backround color changes (flicker).

I managed to remove the flicker by removing state_pressed GradientDrawable (I dont know why there is state_pressed in the first place).

Flicker is not easily visible with colors like red and blue so I used white and green.

Thanks for the great library !

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

1 participant