BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-29-2007, 03:06 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: verizon
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Putting banner in blackberry screen

Please Login to Remove!

Hi,

I have to place an image at the top of the screen , to make it look like a banner. The problem is the size of blackberry screen. Some models have wider screen than the others. If i need to make my banner look like its occuping the full screen, a background color needs to be added.

Can anyone pls let me know how can i set a background color and display a image over it?


thanks
krishnan

Last edited by krishnanrajah : 08-29-2007 at 03:07 PM.
Offline  
Old 08-29-2007, 04:22 PM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

something like this: BlackBerry SpacerField

draw your image in the paint method :

graphics.drawbitmap(0,0,100,40,myBitmap,0,0);
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 08-30-2007, 01:14 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: verizon
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks Jonathan .. it worked like a charm

regards
krishnan
Offline  




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