B bocker77 Active Member Licensed User Longtime User Dec 25, 2024 #1 Is there a way in disabling zooming(Two finger pinch to zoom and double tap to zoom in and out) while viewing an image using ScaleImageView? After messing with all the demos using this library it looks like this may not be possible. HugeImageView may achieve this but in early testing the image gets distorted while panning and it takes a while to readjust where you can read words where ScaleImageView pans smoothly.
Is there a way in disabling zooming(Two finger pinch to zoom and double tap to zoom in and out) while viewing an image using ScaleImageView? After messing with all the demos using this library it looks like this may not be possible. HugeImageView may achieve this but in early testing the image gets distorted while panning and it takes a while to readjust where you can read words where ScaleImageView pans smoothly.
Erel B4X founder Staff member Licensed User Longtime User Dec 25, 2024 #2 You can probably do it with ZoomImageView: https://www.b4x.com/android/forum/t...-zoomable-pannable-image-view.119987/#content Upvote 0
You can probably do it with ZoomImageView: https://www.b4x.com/android/forum/t...-zoomable-pannable-image-view.119987/#content
B bocker77 Active Member Licensed User Longtime User Dec 25, 2024 #3 Thank you I will try that but my png is large. Upvote 0
agraham Expert Licensed User Longtime User Dec 25, 2024 #4 bocker77 said: Is there a way in disabling zooming(Two finger pinch to zoom and double tap to zoom in and out) while viewing an image using ScaleImageView? Click to expand... I'm afraid not, the input handling is buried deep in ScaleImage.jar and is not easily accessible. You could try putting a transparent panel over the ScaleImageView to trap user input Upvote 0
bocker77 said: Is there a way in disabling zooming(Two finger pinch to zoom and double tap to zoom in and out) while viewing an image using ScaleImageView? Click to expand... I'm afraid not, the input handling is buried deep in ScaleImage.jar and is not easily accessible. You could try putting a transparent panel over the ScaleImageView to trap user input
B bocker77 Active Member Licensed User Longtime User Dec 27, 2024 #5 Good suggestion. I will try that. Upvote 0