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

Adobe AIR Development

Reply
Developer
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
My Carrier: Vodafone-in

actions in action bar all goes to overflow menu

 hai am having the same trouble as this even after i set showontabs(false) 

my code is 

viewAction.actionBarPlacement				=	ActionPlacement.ON_BAR;
			addAction.actionBarPlacement				=	ActionPlacement.ON_BAR;	
			
			
			actionBar.showTabsFirstOnBar( false );
			aboutAction.actionBarPlacement 				=	ActionPlacement.IN_OVERFLOW;
			aboutAction.icon							=	"images/about.png";
			helpAction.actionBarPlacement				=	ActionPlacement.IN_OVERFLOW;
			moreAction.actionBarPlacement				=	ActionPlacement.IN_OVERFLOW;
			shareAction.actionBarPlacement				=	ActionPlacement.IN_OVERFLOW;	
			actionBar.setPosition(0,1029);			
			actionBar.backButton						=	new Action('back');
			actionBar.addAction(aboutAction);
			actionBar.addAction(helpAction);
			actionBar.addAction(moreAction);
			actionBar.addAction(shareAction);
			actionBar.addAction(viewAction);
			actionBar.addAction(addAction); 
			actionBar.enableBackButtonDrag = true;
			actionBar.addEventListener(ActionEvent.ACTION_SELECTED, onActionSelected);
			actionBar.addEventListener(DragEvent.DRAG_BEGIN, onDragBegin);

Please Help

Thanks in advance 

 

_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: actions in action bar all goes to overflow menu

Try removing (or commenting out) all the actionBarPlacement lines.

Highlighted
Developer
Posts: 63
Registered: ‎12-10-2012
My Device: Blackberry 9900
My Carrier: Vodafone-in

Re: actions in action bar all goes to overflow menu

I need viewAction and addAction in action bar itself and other actions on overflow menu is that possible
_______________________________________________________
Help is available everywhere but you have to look at the correct place.
By Me :-)