Android : How to stop a View handling touch event when multi touch occur?

on Monday, September 8, 2014


I have 2 custom View, one is on top of another (sandwich). When first finger come it would be handled by the top View, but when the second finger come (multi touch) I want the multi touch completely handled by the bottom view. How to do that?


----I have tried: top View dispatch ACTION_CANCEL (also tried ACTION_UP) when the second finger come, in hope the custom View below it receive and handle the multi touch. But it feels like the fingers/event stuck on the first (top) View.


0 comments:

Post a Comment