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

TouchInterceptionFrameLayout - unwanted click effects #98

Open
npc-trj opened this issue Mar 31, 2015 · 3 comments
Open

TouchInterceptionFrameLayout - unwanted click effects #98

npc-trj opened this issue Mar 31, 2015 · 3 comments

Comments

@npc-trj
Copy link

npc-trj commented Mar 31, 2015

Hi. I'm trying to use TouchInterceptionFrameLayout, but got a problem with it.
When using TouchInterceptionFrameLayout with ListView it's generates unwanted ACTION_DOWN/ACTION_UP events during scrolling and results unwanted click effects on child view. You can see it in example ViewPagerTabFragmentActivity. See screen below with click effect.
sc20150327-110126

@gang018
Copy link

gang018 commented Apr 7, 2015

I have the same issue, sometimes there are click events during scroll

@radikan
Copy link

radikan commented Apr 30, 2015

Hi, I was getting random selections from the list while scrolling. Commenting line 196 solved my problem:

event.setLocation(ev.getX(), ev.getY());

from TouchInterceptionFrameLayout.java solved my problem:
https://github.com/ksoichiro/Android-ObservableScrollView/blob/master/library/src/main/java/com/github/ksoichiro/android/observablescrollview/TouchInterceptionFrameLayout.java

@AabidMulani
Copy link

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

4 participants