Pregunta

I try to load a HTML page into an Android Webview using loadData function. The issue is that the first time I scroll down the view, it seems like is loading the HTML code. Is possible to load the HTML site completely before showing the webview? Otherwise, this first time the view goes slowly down and blink a lot. I'm getting this webview through a FragmentManager Thanks in advance.

¿Fue útil?

Solución

Try to disable the hardware accelerator on the activity:

android:hardwareAccelerated="false"

Otros consejos

This may help :myWebView.setBackgroundColor(Color.TRANSPARENT);

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top