Vertical Top To Bottom Line Gesture Detector
I used the https://play.google.com/store/apps/details?id=com.davemac327.gesture.tool&hl=en gesture tool and noticed that for a line which is top to bottom vertically is not abl
Solution 1:
There was problem with the above code which i solved by introducing
GestureOverlayViewgestures= (GestureOverlayView) findViewById(R.id.gestures);
gestures.setGestureStrokeAngleThreshold( 90.0f);
As the default value of the angle threashold is 40.0f because of which simple vertical gestures would be skipped so changed it to 90.0f, so finally setting the GestureStrokeAngleThreshold to a value closer to 90.0f works fine
Post a Comment for "Vertical Top To Bottom Line Gesture Detector"