Issue
I have a webview whose work is to render an image. I want to display the image in the webview to twice the actual size(200% zoom). I dont want zoom option for that, just display the image as 2 X original image
. This is my code to display the image(The image is in encoded form)
webView.loadData(imageInbase64EncodedForm, "image/png", "base64");
Solution
webView.setInitialScale(200);
This will show the image as 2 times(200%) of the original image
Answered By - Jainendra
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.