I have a webview in a linear layout, which loads images from url on button click, and I wanted them to fit the screen exactly in the beginning, so I used
webview.getSettings().setLoadOverViewMode(true); webview.getSettings().setUseWideViewPort(true);
before adding these, the zoom control buttons were working as I wanted them to, but after adding these, zoom doesnt seem to work, either it force closes or just closes the webview itself.
I am a newbie to android programming, and i tried searching with similar question, couldnt find anything, so any advise would be helpful.
Thanks