Reputation: 1800
For some reason the WebView I am using is quite slow, I don't have to much of a problem with the loading times for web pages, although if there is a way to improve that I would appreciate it. But my main concern is the jagged laggy scrolling. I'm reasonably sure there must be a way to get it working more smoothly, as other apps using (I assume) the WebView don't have this problem. I suppose it may be possible that these other apps are using some private web client although it seems to me very unlikely that all of them would. Others have asked similar questions on SO, but none of the answers are particularly effective.
Upvotes: 3
Views: 9091
Reputation: 419
i think you have this code in your manifests
android:hardwareAccelerated="false"
android:largeHeap="true"
you have to delete if you have it.
Upvotes: 6
Reputation: 21
webView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
This work for me.
Upvotes: 2
Reputation: 3231
It's really hard to guess what your problem might be given the amount of information you have provided:
The above is just stuff from the top of my head. There are great articles out there on the topic, such as this one. Also, if you're using the Chromium WebView you can use the profiling tools via remote debugging
Upvotes: 0