I implemented a WebView with images taken from the web.
On Android 4.3 there's no problem.
On Android 4.4 kitkat, the displayed images are too big.
How do I solve that?
Kitkat Behavior changes
https://developer.android.com/about/versions/android-4.4.html
For Webview Please Refer..
https://developer.android.com/guide/webapps/migrating.html
Android 4.4 (API level 19) introduces a new version of WebView that is based on Chromium. This change upgrades WebView performance and standards support for HTML5, CSS3, and JavaScript to match the latest web browsers. Any apps using WebView will inherit these upgrades when running on Android 4.4 and higher.
The current performance of Android webview is so poor. ChromiumWebView gives your application early access to the newest features in Chromium, and removes the variability due to different WebView implementations in different versions of Android.
The new (chromium based) WebView is faster – so far no surprise. But looking at the numbers, the performance has really increased in several areas (like up to 354% for HTML5 Canvas or 358% for some Javascript test). So your WebView content should run way smoother and faster then before Old WebView vs. Chromium backed WebView
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