I want to disable webview vertical scroll view.Load the web page as columns in webview by using this way I can give the user a book reading effect.
this is the style I added in html.it is not working at all.
loadingStringHorizontal="<style type='text/css'>body { width:200px;height:400px;
-webkit-column-gap:17px;-webkit-column-width:170px;
text-align:justify ;} </style>";
Thanks for your time.
You can try single column layout
myWebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
or in XML you can put none in scrollbar
<WebView
android:scrollbars="none" />
then set myWebView.setScrollContainer(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With