I use Webview to display images with scaling and scrolling. WebView is set to wrap_content for height and width, and zoomcontrols are enabled.
If the image is smaller, then the web view will only show the image on the screen, and a lot of free space will remain on the screen. The moment the user zooms out, the WebView will grow in accordance with the new resolution. The problem is that the zoomcontrols stay in one place and stop working after the web page is resized. If I let them disappear and touch the show again, they will appear on the new day of the presentation and will work again.
This seems like a webview bug. Is there a way to capture the resize of the web view and then disable and enable the zoom features?
source
share