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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T
Accepted Solution

ActionBar and tabs and back buttons

When adding tabs and setting the backButton, the back button is removed or hidden by the tab buttons.  Is this by design or a bug?

 

this.actionbar.showTabsFirstOnBar( true );
this.actionbar.backButton = new Action( 'Back', null, {id:'back'} );
this.actionbar.addAction( new TabAction( 'Search', null, {id:'search'} ) );
this.actionbar.addAction( new TabAction( 'POI', null, {id:'poi'} ) );
this.actionbar.addEventListener( ActionEvent.ACTION_SELECTED, ActionSelected );

 

Please use plain text.
Trusted Contributor
georg22
Posts: 213
Registered: ‎11-22-2011
My Carrier: vodafone

Re: ActionBar and tabs and back buttons

In the UI-guidelines it is recommended to use tabs for the first level of the navigation hierarchy only, and the diagonal shape of the back button does not really fit to the tab buttons, so i guess they can not be used on the same page at all.

Maybe you can use a segemented control on the top of the screen instead.

Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: ActionBar and tabs and back buttons

That is what I had to do. Not as obvious, but it works.
Please use plain text.