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

Native Development

Reply
Developer
Posts: 39
Registered: ‎11-22-2013
My Device: Z10
My Carrier: Mobily

The height of action bar (really important :( )

hey guys :smileyhappy:

I want to know the height of the action bar on the z10 and z30 and q10, i'm desining a wallpaper and when i add it in my ImageView the height of my image is scalled due to the action bar on the bottom, so i want to know the size of the action bar so that i edit my wallpapers in photoshop to be exactly the same

 

Thanx a lot :smileyhappy:

Developer
Posts: 540
Registered: ‎08-31-2013
My Device: Q10, Z10LE, Nokia N950, DAB....
My Carrier: Telekom Slovakia

Re: The height of action bar (really important :( )

I think on Z10 is the height 140 . You can play with it



If helped give a like. If your problem was solved mark the post as "Solution"
Portfolio: BlackBerry Nokia
Social: Twitter | Facebook
About Me / Blog DevPDA | Blog
Developer
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: The height of action bar (really important :( )

Relying on exact pixels is not really a good idea, because of dpi and different devices (see Z3, which is 540 x 960 I think). But you can set the scaling method of your imageview. per default, it is set to FILL so that it fills the complete given area. see here for more info: https://developer.blackberry.com/native/reference/cascades/bb__cascades__scalingmethod.html#enumvalu...
-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o