开发者

zoom controller not working in webview in android

I am suffering from a strange problem in order to implement WebView in android. I am trying to load html5 supported web page in my WebView, but the pro开发者_StackOverflow社区blem is default zoom controller is not working in WebView. i tried with the following code.

webview.getSettings().setBuiltInZoomControls(true);
webview.invokeZoomPicker();

Can any body help regarding this.


Add this line also

WebSettings setting = wView.getSettings();
        setting.setBuiltInZoomControls(true);
        setting.setSupportZoom(true);

if work or not please reply

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜