Skip to main content

I'm a little confused why you are putting a WebViewWebView into a ScrollViewScrollView in the first place. A WebViewWebView has it's own built-in scrolling system.

Regarding your actual question, if you want the scrollbarScrollbar to show up on top, you can use view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or android:scrollbarStyle="insideOverlay"

view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or android:scrollbarStyle="insideOverlay" 

I'm a little confused why you are putting a WebView into a ScrollView in the first place. A WebView has it's own built-in scrolling system.

Regarding your actual question, if you want the scrollbar to show up on top, you can use view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or android:scrollbarStyle="insideOverlay"

I'm a little confused why you are putting a WebView into a ScrollView in the first place. A WebView has it's own built-in scrolling system.

Regarding your actual question, if you want the Scrollbar to show up on top, you can use

view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or android:scrollbarStyle="insideOverlay" 
Source Link

I'm a little confused why you are putting a WebView into a ScrollView in the first place. A WebView has it's own built-in scrolling system.

Regarding your actual question, if you want the scrollbar to show up on top, you can use view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or android:scrollbarStyle="insideOverlay"