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

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/