I load url, for example mail.google.com, into webview in my app, and scrolling on web-page so slow! Tested on Samsung GalaxyTab 10.1, Motorola Droid X, Acer Liquid, etc. Why?
Parameters that I try use:
webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.setRenderPriority(RenderPriority.HIGH);
Web View is slower on both as compared to native android browser.
setScrollContainer(false); Don't forget to add the webview. setOnTouchListener(...) code above to disable all scrolling in the webview.
add android:hardwareAccelerated="true" to the tag in your manifest.
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