I have an activity that implements GestureDetector.OnGestureListener.

This variable: GestureDetector gestureDetector = new GestureDetector(this).

This @Override public boolean onTouchEvent(MotionEvent event) { return 
gestureDetector.onTouchEvent(event); }

My application works as expected using the onFling() when I swipe the 
screen where there are no views or other layouts (empty spaces on the 
screen). But once I try to swipe over my views (bunch of TextViews and a 
Button) the onFling() is never called.

How would I go about this to make the onFling() available anywhere on the 
screen they swipe? I have searched for answers on Google with nothing that 
addresses this that I can tell.

Thanks for any help,
Derek

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to