When I use the following html:
img src="file:///sdcard/image1.jpg" width="100%" heighth="100%"
and use WebView.setBuiltInZoomControls(true)
, my webview is zoomable, but after I release my finger, the webview is zoomed back.
I guess it is because of width="100%" heighth="100%"
.
But image1.jpg
is big, and at the beginning I want to show the whole image on screen. Later the user can zoom in/out.
Any solution or code sample?