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
Ketzusaka
Posts: 24
Registered: ‎04-28-2009
My Device: Not Specified

Bitmap Size Question

Heya,

 

 I realize a scalable graphic would be better suited for this, but for my own curiousity, how would I specify the width and height of a bitmap shown using BitmapField, and loaded with Bitmap.getBitmapResource("path") ?I have a PNG that is 320px wide, and gets cut off on phones with smaller screens (i.e. pearl heh), and for them I want to be able to scale the image down before having it added.

 

Thanks,

James

Developer
Ketzusaka
Posts: 24
Registered: ‎04-28-2009
My Device: Not Specified

Re: Bitmap Size Question

Hurgh, nevermind. My search skills were sucking for a minute. Found a solution!

 

THanks