lomza lomza - 1 year ago 140
Android Question

Hiding the scroll bar in WebView

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 Source

setScrollbarFadingEnabled() method does exactly what you want. It hides scrollbar when the view isn't scrolling.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download