bharath bharath - 1 year ago 177
Android Question

How to remove zoom buttons on Android webview?

Is it possible to remove the zoom buttons enter image description here? Its showing when I zooming the WebView. I need zoom control without these buttons. I'm using android 2.3.

I used below code,

WebView webview = (WebView) findViewById(;
FrameLayout mContentView = (FrameLayout) getWindow().
final View zoom = webview.getZoomControls();
mContentView.addView(zoom, ZOOM_PARAMS);

Answer Source

Finally my answer is, Its not possible to hide/remove these button's on WebView in Android 2.3.