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

BlackBerry® World™ Development

Reply
Trusted Contributor
Posts: 242
Registered: ‎03-16-2010
My Device: 9530

Background Color & LAyout

 

Hello,

 

   I want to color the whole screen; though my layout might be half way only.

 

   I tried - this.setBackground(BackgroundFactory.createSolidBackground(Color.LAVENDERBLUSH));

but nothing happens.

 

   I also color my layouts this way, they get coloured, but the other part i.e. components outside the layout remains white color only. Why am I not able to color the whole screen.

 

   ********

  I want my screens to fix to any resolution. If I make for the simulator size, when it comes across small or big screen, can it fix accordingly. Atleast color the whole screen, even if the components size doesn't change.

 

 How to go with this? I look around hardly but couldn't find any solution.

 

Thanks,

    


--------------------------------------------------------------------------------
For any helpful answers give kudo's (star) to the helper.
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Background Color & LAyout

As noted in one of your other posts, I think you would get a better answer for these sorts of questions here:

http://supportforums.blackberry.com/t5/Java-Development/bd-p/java_dev

 

The best document that I have seen that discusses Rich UI is here:

How to - Implement advanced buttons, fields, and managers
Article Number: DB-00796
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

These is a related Webinar, here:

http://webcast.streamlogics.com/audience/index.asp?eventid=16057985