I\'m developing one application in which I have to add a custom layout on actionbar. Adding the custom layout is done, but when I\'m adding the menu items on actionbar my custom
One way to achieve it is by calling invalidateOptionMenu and in the onCreateOptionsMenu method, put the items according to the order you wish to put them.
BTW, if you use ActionBarSherlock, this method is available , so ignore the Lint warnings about it.