i want to load my web view as a overview mode(completely zoomed out). that is the webpa开发者_如何学JAVAge zoomed out completely at the initial state.
i coded like this:
webview_obj.getSettings().setLoadWithOverviewMode(true);
its not working. what is the mistake and how to rectify it?
I was just trying to figure that out myself. It seems that setting setUseWideViewPort in addition to setLoadWithOverviewMode fixes it.
webview_obj.getSettings().setUseWideViewPort(true);
This other question deals with the same thing. How to set the initial zoom/width for a webview
精彩评论