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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -