In the same activity, I want to place some options in the optionsMenu and some on the ActionBarActivity. Should I create a separate xml file for the options to be placed in the optionsMenu and another xml file for those I want to place them on the ActionBar?
OR I have to create a single xml file for both? And in either cases, what will distinguish the options to be placed on the ActionBar than the others to be in the optionsmenu?