I not sure how to word this for a search, I have been trying. What I want to do is have a image view that moves with user touch. Basically you touch the image/label and it moves with your finger until release.
I did view this but this seems only capable of zoom/resize the image. I wish to move/drag the image wherever the user's finger is until it is released.
I did view this but this seems only capable of zoom/resize the image. I wish to move/drag the image wherever the user's finger is until it is released.
You can set it's Bitmap property - pass a Bitmap.
Then set both MinScale and MaxScale to 1 and you'll have a draggable Bitmap which cannot be zoomed in or out.
You can see from that post that someone else also wanted a draggable but not zoomable version.
I shall make time to update the library and either add an option to disable zooming or create a new draggable but not zoomable library.
I did view this but this seems only capable of zoom/resize the image. I wish to move/drag the image wherever the user's finger is until it is released.
The attached sounds like what you are looking for. It doesn't use any external libraries.
I found this in my B4A folder, but I don't remember where it came from and I couldn't find it on here by searching. Maybe whoever wrote it will recognize it and claim it.
I am toying around with which I can use in a game and be interactive with another layer or a position on the screen.
This will get me started in the right direction. I know what I'm attempting is probably not difficult to the experts here, but I'll learn a lot trying to get this done. :sign0104:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.