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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

1pc Siemens 6ES5451-7LA12 xhg04
$499.29
1pc Siemens 6ES5451-7LA12 xhg04 picture1pc Siemens PLC 6ES7 214-1AD23-0XB8 xhg51
$180.42
1pc Siemens PLC 6ES7 214-1AD23-0XB8 xhg51 picture1pc Siemens 6EP1331-1SH01 xhg04
$39.62
1pc Siemens 6EP1331-1SH01 xhg04 picture1pc Siemens 6ES5 930-8MD11 xhg04
$134.72
1pc Siemens 6ES5 930-8MD11 xhg04 picture1pc Siemens 6ES5470-8MA12 xhg04
$295.9
1pc Siemens 6ES5470-8MA12 xhg04 picture






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