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

Adobe AIR Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
My Carrier: Vodafone-in

How to give aspect ratio..?

[ Edited ]

Am a beginer in bb10 platform. Currently am doing a project where i need to set images. Could any one tell me how to do it..?? I heard something regarding aspectRation , but i couldn't find any such methods..

or actually i want to set two images as tabs (i dont need buttons ).Thanks in advance.


Help is available everywhere but you have to look at the correct place.
By Me :-)
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: How to give aspect ratio..?

For more information on aspect ratios you can visit: https://developer.blackberry.com/devzone/design/bb10/screen_sizes.html 


If your looking at creating an actionbar have a look at this API - https://developer.blackberry.com/air/apis/bb10/qnx/fuse/ui/actionbar/package-detail.html 


I believe I answered your layout question in this post - http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Set-image-at-bottom-of-screen/td-p/2029... 

Follow me on Twitter: @dustinmalik
Keep up to date on BlackBerry development: http://devblog.blackberry.com/