Sōōng
Sōōng

Reputation: 67

MotionEvent.ACTION_POINTER_DOWN DOES NOT detect position

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?

Upvotes: 1

Views: 1128

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93708

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

Upvotes: 1

Related Questions