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

Java Development

Reply
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

how should i design that kind of image?

[ Edited ]

hello friends,

           i am attaching how i want my screen. i am not family with bitmap as bacgroud. any one tell me how should we do that please help me frinends.

thanks and regards 

ajay patil.2TB-login.jpeg

Please use plain text.
Contributor
specific
Posts: 31
Registered: ‎01-27-2011
My Device: Tablet

Re: how should i design that kind of image?

VerticalFieldManager vfm=new VerticalFieldManager(Field.USE_ALL_WIDTH | Field.USE_ALL_HEIGHT);    vfm.setBackground(BackgroundFactory.createBitmapBackground(Bitmap.getBitmapResource("Surya_Mauke_Title_Menu.jpg")));  ButtonField b1=new ButtonField("Botton1", Field.FOCUSABLE); // b1.setMargin(180, arg, arg2, arg3)  vfm.add(b1);  add(vfm);

Please use plain text.
Developer
patilajayr
Posts: 404
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: how should i design that kind of image?

Thanks for reply me.

but when i have to add 1 more image on center of the screen on background. how we do that??

how we set the cordinates of second image?

thanks and regards 

ajay patil.

Please use plain text.
Contributor
specific
Posts: 31
Registered: ‎01-27-2011
My Device: Tablet

Re: how should i design that kind of image?

Bitmap bitmap1=Bitmap.getBitmapResource("Icon.jpg"); BitmapField bf=new BitmapField(bitmap1); vfm.add(bf);
Please use plain text.