In my application i am having a TabActivity in which i am using One Activ开发者_如何学Pythonity which has two fragments.Both Fragments have options menu.But these Optionss menu are not showing up in the Action Bar. I have also put items in menu to "showAsAction".
Set setHasOptionsMenu to true.
精彩评论