Có thể xóa các nút thu phóng không? Hiển thị của nó khi tôi phóng to WebView. Tôi cần điều khiển thu phóng mà không cần các nút này. Tôi đang sử dụng Android 2.3.Cách xóa nút thu phóng trên chế độ xem web trên Android?
tôi đã sử dụng dưới mã,
WebView webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setBuiltInZoomControls(false);
webview.getSettings().setJavaScriptEnabled(true);
FrameLayout mContentView = (FrameLayout) getWindow().
getDecorView().findViewById(android.R.id.content);
final View zoom = webview.getZoomControls();
mContentView.addView(zoom, ZOOM_PARAMS);
zoom.setVisibility(View.GONE);
chúng ta có thể thảo luận ở đây http://chat.stackoverflow.com/rooms/10629/agarwal –
Vâng chắc chắn. Tôi sẽ tham gia. – bharath
@bharath u có thể giúp tôi fr [this] (http://stackoverflow.com/questions/11777116/enable-zoom-for-all-pages-of-an-android-application) –