multi touch - Android OnTouchListener on Two Views -
hi i've tried search question couldn't find on it.
i have 2 views i've attached ontouchlistener
, want able touch both of them @ same time , stuff it. however, coming issues doesn't track pointer index properly. example, lets have 1 finger on view (pointer id should 0) , put finger on view b. pointer id second touch should 1 appears 0 there no current touches in view b. totally makes sense not behavior want.
in essence, i'm trying find way able track touches. better make custom view touchlistener encompasses both view , view b or there no real way past problem?
thanks!
i think customview better approach since behavior expecting not common , there no easy way it.
Comments
Post a Comment