Hiding the scroll bar in WebView

lomza picture lomza · Aug 17, 2011 · Viewed 37.1k times · Source

I want to hide a vertical scroll bar in my WebView when I do not scroll the page. As for now, it is displayed always. I create a WebView programmatically, so my question is related to customization of the scroll bar programmatically. Thanks!

Answer

ilango j picture ilango j · Aug 17, 2011

try this code,

webView.setVerticalScrollBarEnabled(false);