Android examples for User Interface:WebView Zoom
can WebView Zoom Out
//package com.java2s; import android.annotation.TargetApi; import android.os.Build; import android.webkit.WebView; public class Main { @TargetApi(Build.VERSION_CODES.HONEYCOMB) public static boolean canZoomOut(WebView mWebview) { if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) { // Use the API 11+ calls to disable the controls return mWebview.canZoomOut(); } else {//from www . j a v a 2 s. co m return false; } } }