Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Can I change the white background that shows when a web view is loading?

I have set my background color and image within my webview, but when the webview is actually loading, it's just a white blank screen.

I have the background set in the window, and I see that for a second or two, but once what I assume is the webkit browser engine starts to load in the window, I seem to only be able to get a white background.

Any ideas?

Thanks,

Peter Janett

— asked July 23rd 2010 by Peter janett
  • webview
0 Comments

1 Answer

  • Accepted Answer

    the_webview.backgroundColor:'transparent';
    

    But I wouldn't recommend.
    The webview eats enough resources by its own, making it transparent will ask more from the device.

    — answered July 23rd 2010 by Dan Tamas
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.