Reputation: 885
I have a spinner and when an item is selected an html attached to the item is displayed on a webview.
And it looks like this after an item is selected:
Then the user can zoom-out but I want to display the web like this from default, it's there any option for that?
Upvotes: 0
Views: 44
Reputation:
Try this code:
webview.setInitialScale(1);
webview.getSettings().setLoadWithOverviewMode(true)
webview.getSettings().setUseWideViewPort(true)
Upvotes: 1