05-05-2010 05:04 AM
Hi!
In my config.xml I have a color for the body of the widget:
<rim:loadingScreen backgroundColor="#004179"
Is there any way to change that color by javascript code? . I tried this but not
works:
document.body.style.color = 'white';
Thanks!
05-05-2010 07:51 AM
In a BlackBerry widget the rendering surface of a screen sizes to the size of your HTML content. If your content isn't as tall as the screen you will see the loading screen background color showing up on your screen.
There isn't a way to change the loading screen background color via JavaScript. However there is a way to make sure that your body background color fills the screen.
This tip can be found in the Tips & Tricks thread about half way down posted by iamtony:
http://supportforums.blackberry.com/t5/Web-Develop