Which handler are you using with your GestureOverlayView? OnGesturePerformedListener or OnGestureListener? If you use OnGesturePerformedListener, you will be limited by the orientation of your screen. You must use OnGestureListener and implement the onGestureEnded function. It gives you a completed gesture regardless of the orientation of your screen:
@Override
public void onGestureEnded(GestureOverlayView overlay, MotionEvent event) {
Gesture gesture = overlay.getGesture();
}
Cheers Amin
source
share