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

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

Background Color & LAyout




   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.




For any helpful answers give kudo's (star) to the helper.
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:



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

These is a related Webinar, here: