I want to move an image on touch and only horizontally and vertically.
The image will begin from the center of the screen.
The thing is, I don't want the user to touch the image directly in order to move it, I want to allow the user to touch the screen anywhere in order for the image to move.
I believe this is being done using gestures, and so far, it works, but only for the swipe/fling method, but I want the image to move in-real-time whenever the users finger is touching the screen.
Basically this is supposed to be like a drag effect, so maybe it has to do something with the scroll method in gesture pack? I don't know..
How can I do this?
How to move an image up/down, left/right on touch?
Post a Reply
Nothing to see here.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|