Battled this one as well. Found the answer here.
Looks like you were dead on with android:scrollbarStyle="insideOverlay"
, except that because of some bug it doesn’t function right when defined in XML. It works right if you use:
webView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
Annoying.
Related Contents:
- Android webview launches browser when calling loadurl
- How to listen for a WebView finishing loading a URL?
- How to go back to previous page if back button is pressed in WebView?
- Android webview & localStorage
- Clicking URLs opens default browser
- Load HTML file into WebView
- WebView showing ERR_CLEARTEXT_NOT_PERMITTED although site is HTTPS [duplicate]
- Is `shouldOverrideUrlLoading` really deprecated? What can I use instead?
- Android WebView, how to handle redirects in app instead of opening a browser
- How to load external webpage in WebView
- WebView link click open default browser
- Android Webview – Webpage should fit the device screen
- WebView and HTML5
- How to prevent a scrollview from scrolling to a webview after data is loaded?
- Android WebView not loading an HTTPS URL
- Playing HTML5 video on fullscreen in android webview
- Loading existing .html file with android WebView
- Disable scrolling in webview?
- How do I get the web page contents from a WebView?
- Android – WebView language changes abruptly on Android 7.0 and above
- How to clear cookies and cache of webview on Android when not in webview?
- How to set the initial zoom/width for a webview
- Memory leak in WebView
- Android – extracting cookies after login in webview
- Android WebView “tel:” links show web page not found
- How can I get onclick event on webview in android?
- How does evaluateJavascript work?
- How to load html string in a webview?
- WebView: how to avoid security alert from Google Play upon implementation of onReceivedSslError
- Intercept and override HTTP requests from WebView
- How can I know that my WebView is loaded 100%?
- enable/disable zoom in Android WebView
- Alternate Solution for setJavaScriptEnabled(true);
- Add a Progress Bar in WebView
- Android – local image in webview
- Android ProgessBar while loading WebView
- android: webview inside dialog or popup
- Android WebView, Scaling Image to fit the screen
- How to add padding around a WebView
- How to debug webview remotely?
- How to get loaded web page title in Android WebView?
- Loading an Android Resource into a WebView
- How to use ThreeTenABP in Android Project
- Add a background image to shape in XML Android
- Android. WebView and loadData
- Get JSONArray without array name?
- Create Options Menu for RecyclerView-Item
- open google maps through intent for specific location in android
- android 4.0, text on the action bar NEVER shows
- Failed to open the HAX device! HAX is not working and emulator runs in emulation mode emulator