05-23-2012 11:29 AM
i could add image but can't make it resizable and can't make it in the background(((
Bitmap imageBitmap = Bitmap.getBitmapResource("rectangle.png");
BitmapField bitmapField = new BitmapField(imageBitmap, BitmapField.FIELD_HCENTER);
05-23-2012 02:15 PM
Basically, the BB does not allow one field on top of another field in the same screen.
The simplest way is to set the bitmap as the background using the setBackground function.
You can set the bitmap as the background of the field, containing manager or the screen.
Hope that helps,
05-24-2012 05:25 AM
Just adding to the previous answer, you noted:
"can't make it resizable"
This is correct, BB does not automatically resize Bitmaps, you will have to do this yourself. There are scaling functions available, see Bitmap Object. If you have a transparent image, you might want to look at this: