Sganga61 Member Licensed User Longtime User Jun 5, 2024 #1 Hi. I need to capture the zoom factor (positive or negative) of an image during zooming...in practice I would like to use this information to reposition a symbol (which does not belong to the image) in the same coordinates using the zooming factor to position recalculation. I tried using touchimageview together with gesturedetector but on this view I can only intercept clicks. I tried also different libraries and examples but none of them generate an event from which to take the zooming factor or something similar useful to the goal. How can I do?
Hi. I need to capture the zoom factor (positive or negative) of an image during zooming...in practice I would like to use this information to reposition a symbol (which does not belong to the image) in the same coordinates using the zooming factor to position recalculation. I tried using touchimageview together with gesturedetector but on this view I can only intercept clicks. I tried also different libraries and examples but none of them generate an event from which to take the zooming factor or something similar useful to the goal. How can I do?
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2024 #2 Check ZoomImageView: https://www.b4x.com/android/forum/t...-zoomable-pannable-image-view.119987/#content Upvote 0
Check ZoomImageView: https://www.b4x.com/android/forum/t...-zoomable-pannable-image-view.119987/#content