I have a scenario where a parent view should handle multi touch events, but it's children should handle single touch events.
Hence, I override public boolean onInterceptTouchEvent(MotionEvent ev) in the parent in order to intercept any events that are considered as multi touch (getPointerCount() > 1). However, the motion event always returns 1 for getPointerCount() in onInterceptTouchEvent. If I return true regardless and then check the value in onTouchEvent, it will display the correct pointer count. The motion event passed to onInterceptTouchEvent and the one passed to onTouchEvent seems to contain different data. Anyone knows why this is the case? Also, is there any other way to differentiate between single and multi touch events in onInterceptTouchEvent? I have only tested this on ICS, in case it's a new issue. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

