Herr von Wurst
Herr von Wurst

Reputation: 2621

How to disable the move threshold when getting touch events?

I am creating an Android game that uses touch input. I noticed that, when I put down a finger and move it, there is a threshold of a couple of pixels until the first MotionEvent.ACTION_MOVE is generated. What is the correct way of disabling this threshold filter?

Upvotes: 10

Views: 2540

Answers (1)

aragaer
aragaer

Reputation: 17858

It's called touch slop. And here's the same question already answered: Android ACTION_MOVE Threshold

Upvotes: 6

Related Questions