Hello,
(Sorry for the all the recent questions!)
To get pinch and zoom with images, I'm using a webview. however, the images don't all resize correctly. I'm using scaletofit. The portrait images are (mostly) ok. The landscape ones are the correct height which makes them too wide.
I've just put a webview into the camera example as an mwe and attached it.
I've tried do some things in the page1_reszie routine, such as setting scaletofit=true again. Not sure what else to try since the view is sized correctly, but the image within it isn't.
I appreciate the landscape pictures don't fit correctly, but the usual whitespace at the top and bottom is fine. That's normal and is what happens if it's an imageview instead of a webview.
(I also tried zoomimages class that was made last night. While it was super easy to use, it has the same issue).
Thanks!
(Sorry for the all the recent questions!)
To get pinch and zoom with images, I'm using a webview. however, the images don't all resize correctly. I'm using scaletofit. The portrait images are (mostly) ok. The landscape ones are the correct height which makes them too wide.
I've just put a webview into the camera example as an mwe and attached it.
I've tried do some things in the page1_reszie routine, such as setting scaletofit=true again. Not sure what else to try since the view is sized correctly, but the image within it isn't.
I appreciate the landscape pictures don't fit correctly, but the usual whitespace at the top and bottom is fine. That's normal and is what happens if it's an imageview instead of a webview.
(I also tried zoomimages class that was made last night. While it was super easy to use, it has the same issue).
Thanks!