Using Html/css3 And Webview To Scale An Image To The Screen... Get A White Screen Before The Image Loads
I am using a WebView in Android to load some local html that scales an image to the screen as a background... however, when I go to start the activity that loads the WebView I get
Solution 1:
Found this post on here: How to prevent the white 'flash' on page load created by background image loading delay?
Try setting a background colour to the html element and remove the bgcolor="#000" inline style on the body element (this should be avoided. it's bad practise).
html {background: #[color] url('images/10_1.jpg') no-repeat center center fixed; }
Post a Comment for "Using Html/css3 And Webview To Scale An Image To The Screen... Get A White Screen Before The Image Loads"