Code example for WebSettings

Methods: setBuiltInZoomControls

0
 
    public void applyWebSettings(WebView view) {
        super.applyWebSettings(view);
        WebSettings settings = view.getSettings();
        if (RhoConf.getBool("enable_screen_zoom")) { 
            settings.setBuiltInZoomControls(true);
        } else { 
            settings.setBuiltInZoomControls(false);
        } 
    } 
}