Skip to content Skip to sidebar Skip to footer

How To Set The Orientation Of The Views Underneath The Gesture Overlay To "none"

I am trying to set the orientation of the views underneath the GestureOverlay to none. At this point I am able to set the orientation to either vertical or horizontal. However, for

Solution 1:

The android:orientation="none" option is part of the Replicant project and isn't valid for standard Android builds. In short, the only options you have are horizontal and vertical, sorry.

Solution 2:

It looks to me like you're trying have both horizontal and vertical gestures being recognized using GestureOverlayView. This is the solution:

gestureOverlayView.setOrientation(GestureOverlayView.ORIENTATION_VERTICAL);
gestureOverlayView.setGestureStrokeAngleThreshold(90); 

Post a Comment for "How To Set The Orientation Of The Views Underneath The Gesture Overlay To "none""