I'm trying to figure out how to seemlessly display my theme's 
gradient (or background image) right at the start of the load phase 
and all the way through initialization. In other words, I don't want 
the default theme during the load, with a visual "glitch" when my 
custom theme kicks in.

Here's what I've learned so far:

 - If you set the style on the app's "initialize" 
or "preinitialize", those changes aren't visible during the app's 
loading phase, so you end up getting the default theme until the 
loading is complete.

 - The backgroundColor property takes effect right at the start of 
loading, but backgroundGradientColors (to get a nice gradient during 
the load) doesn't seem to work.

 - The backgroundImage property will display an image after about 1 
second (into the load), but the image doesn't fill the window (i.e. 
it isn't scaled) until after the load.

Anyone have any ideas?


Reply via email to