Solve WebView problem

 

add this back

http://code.google.com/p/android/issues/detail?id=20446


code.google 有discuss

http://code.google.com/p/android/issues/detail?id=25722


http://stackoverflow.com/questions/5213635/honeycomb-hardware-acceleration

try this, turn off the alpha channel (no use)


http://thehelios.wordpress.com/2012/09/13/hardware-acceleration-on-android-4-0/

more ref, and have many hints !

http://developer.android.com/guide/topics/graphics/hardware-accel.html


change to translateX (try)


http://stackoverflow.com/questions/13500452/android-webview-renders-blank-white-view-doesnt-update-on-css-changes-or-html

or read this


add this
-webkit-overflow-scrolling: touch;

http://stackoverflow.com/questions/11370418/scrolling-through-touchmove-is-choppy


http://developer.android.com/reference/android/webkit/WebSettings.html

change RenderPriority and CACHE SETTING (try)


https://groups.google.com/forum/?fromgroups=#!topic/android-developers/4YATUvb-t68

try large heap true (try)


change all png to jpg
(no transparency channel in yr app)


smooth transition trial

1. try webkit back face visibility hide
2. try the slide animation time is linear ie deltaX * 10ms, but not diff distance but same time
3. try window.location.href = “#body” to do a fast auchor

good luck