0

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.

3
  • Local asset? or server rendering Commented Sep 4, 2013 at 9:41
  • 1
    You may refer the following link for help- stackoverflow.com/questions/16579248/… Commented Sep 4, 2013 at 9:47
  • there is no answer for above link. Why you are posting waste link over here :( Commented Sep 4, 2013 at 14:01

2 Answers 2

1

Try to disable the hardware accelerator on the activity:

android:hardwareAccelerated="false" 
Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.