Is there something like onLeftSwipeListener and onRightSwipeListener in Android? I want to switch views swiping finger back and forward. I use a FrameLayout and an ImageView ins
Here's a related quetion about implementing gestures detection:
Fling gesture detection on grid layout
You could also use a ViewFlipper with some animation to switch between the views, it looks good, here's an example implementation for enabling left/right swipe on a viewflipper:
http://www.inter-fuser.com/2009/07/android-transistions-slide-in-and-slide.html