BlackBerry-how to change Manager background image?

Posted by Galaxy on Stack Overflow See other posts from Stack Overflow or by Galaxy
Published on 2010-05-18T12:07:46Z Indexed on 2010/05/18 12:10 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

I am trying to create a tool bar with background color different from the screen background, i am using the following code

getMainManager().add(mToolbarManager = new HorizontalFieldManager()); mToolbarManager.add(mBtn = new BitmapButtonField(mBmpNor, mBmpFoc, mBmpAct)); Background bg = BackgroundFactory.createSolidBackground(Color.BLACK); mToolbarManager.setBackground(bg); mToolbarManager.add(mBtn = new BitmapButtonField(mBmpNor, mBmpFoc, mBmpAct));

but it doesn't effect the background of toolbarmanager, while setting the background of mainmanger works fine

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about gui