Android Question Gesturedetector and Fling event

JMB

Active Member
Licensed User
Longtime User
Hi there.

I'm experimenting with this library and have been looking at the Fling method. What has confused me is the values that are returned for X and Y for the two Motion Events.

The Fling method has a Motion event associated with the start of the Fling and a motion event associated with the end of the Fling.

The bit I don't get is that the x and y values seem disproportionately large. I've written code to draw a line between the two points and it looks right.

Why do the x and y values seem so disproportionate to what is seen on the screen?

Thank you.

JMB.
 
Top