08-15-2012 08:30 PM
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 );
Solved! Go to Solution.
08-21-2012 04:02 AM
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.
08-21-2012 11:46 AM