Android examples for User Interface:WebView
default WebView Settings
//package com.java2s; import android.webkit.WebSettings; import android.webkit.WebView; public class Main { /**/* w ww.j av a2 s .c o m*/ * default WebView Settings * * @param webView */ public static void webViewSettings(WebView webView) { WebSettings settings = webView.getSettings(); settings.setSupportZoom(false); settings.setJavaScriptEnabled(true); settings.setLightTouchEnabled(true); settings.setUseWideViewPort(true); } }