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: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

How to place image button in action bar ??

Hi all,

 

I am new in BB cascades development. I need to add an image button in my action bar . Any possible method to add image button in action bar ??

 

Thanks

Deepu George Jacob

Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: How to place image button in action bar ??

Hi,

 

It's not possible to add controls such as ImageButton to ActionBar. Only ActionItems can be added:

http://developer.blackberry.com/cascades/documentation/ui/navigation/single_screen.html

ActionItems can contain custom images:

http://developer.blackberry.com/cascades/reference/bb__cascades__actionitem.html

 


Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: How to place image button in action bar ??

When I saw the camera app I too thought wow I want to do that, spent a long time searching through the docs only to come to the conclusion it wasn't possible.

 

Hopefully in a future release.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

Re: How to place image button in action bar ??

Thank you for your valuable information....