Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 117
Registered: ‎10-22-2008
My Device: Not Specified

Some help with backgroud color

this does not work. The screen remains white. How can I set the entire screen to a color? It seems to work with field managers and such, but not the whole screen. Similar with images. I would like to create a centered (vert and horiz) image with a bacground color. Thanks. public class TeamScreen extends MainScreen{ public TeamScreen() { this.setBackground(BackgroundFactory.createSolidBackground(0x00cceedd)); } }
Eclispse 3.4
JDE 5
Bold/Tour/Storm
Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Some help with backgroud color

Following is setting the Color back to my main screen.

 

Background bg = BackgroundFactory.createSolidBackground(Color.BLACK);
getMainManager().setBackground(bg);


Use Search. "Accept Solution" If the problem is resolved.
New Member
Posts: 1
Registered: ‎02-25-2010
My Device: curve
My Carrier: sprint

Re: Some help with backgroud color

ok so how do I change my color from blue cuz I have a red pic I wanna have as a wallpaper and I want my menu red or black there used to be a way to change from blue to green or red on my old phone... Smiley Sad