Android : Click / Touch Event Not Working After Canvas Translate
I have a FrameLayout that contains several ImageView. On the main activity, I record the touch events in order to move my FrameLayout and the images inside with the finger (drag).
Solution 1:
You can use setPadding(this.mPosX,this.mPosY,0,0) in the the constructor. It should work.
Post a Comment for "Android : Click / Touch Event Not Working After Canvas Translate"