GestureDetector detects various gestures and events using the supplied MotionEvents. The GestureDetector.OnGestureListener callback will notify users when a particular motion event has occurred. This class should only be used with MotionEvents reported via touch. GestureDetector.SimpleOnGestureListener is a convenience class to extend when you only want to listen for a subset of all the gestures. This

In this example we will discuss how to create SlideShow using SwipeGesture on a ViewFlipper: Code for layout: To move right to left and left to right four xml files will be needed.Keep those files in res/anim folder. Code for Code for left_out.xml: Code for right_in.xml: Code for right_out.xml: Code in Activity: In Activity

A ViewFlipper  is a simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip between each child at a regular interval. A ViewFlipper  can be used to slide views in and out of the user’s current