BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-25-2010, 07:36 AM   #1 (permalink)
New Member
 
Join Date: May 2010
Model: 7100T
PIN: N/A
Carrier: Generic
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Generic UI

Please Login to Remove!


Hii..
Can anybody tell me how to create a generic UI using images which will have same GUI feel on different display dimensions??

Cheers ,
YoGi
__________________

Cheers,
YoGi
Offline  
Old 08-25-2010, 08:00 AM   #2 (permalink)
New Member
 
Join Date: Aug 2010
Model: 9550
PIN: N/A
Carrier: 1
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Yogesh..

U can use the below code for displaying the image at diff Fields.

Bitmap logo = Bitmap.getBitmapResource("Internet-48.png");
BitmapField bitmapfield = new BitmapField(logo, Field.FIELD_HCENTER);
add(bitmapField);

Regards,
Pavan Kumar

Last edited by pavankumar : 08-25-2010 at 08:13 AM.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.