Quote:
|
Originally Posted by jfisher stop spamming! - there's about 20 threads from you on here and on blackberry.com
post your code otherwise nobody can help you. |
Thanks for reply.
I have used this code
backgroundBitmap = Bitmap.getBitmapResource("background.png");
msc=new MainScreen(MainScreen.DEFAULT_MENU|MainScreen.DEFA ULT_CLOSE);
vfm= new VerticalFieldManager (VerticalFieldManager.USE_ALL_WIDTH | VerticalFieldManager.USE_ALL_HEIGHT)
{
//Override the paint method to draw the background image.
public void paint(Graphics graphics)
{
//Draw the background image and then call paint.
graphics.drawBitmap(0, 0, 240, 240, backgroundBitmap, 0, 0);
super.paint(graphics);
}
};
After that added all the control to VerticalFieldManager and finally added to the mainScreen.