Question

I am a newbie in Android, lately I got this weird thing:

I have my customized View, in onTouchEvent method, i tried to detect multitouch gesture, but the MotionEvent.ACTION_POINTER_DOWN will always be triggered no matter my second finger touches the view or not.

It seems like ACTION_POINTER_DOWN doesn't behaves the same as ACTION_DOWN, since ACTION_DOWN will not be triggered if my finger didn't touch the view.

Please tell me what's wrong with that, is that a bug?

Was it helpful?

Solution

Its working as intended. Once you touch down, all touch events go to your view until a cancel or an up occurs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top