문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top