In my application, I have a TabActivity in which I use One Activity, which has two fragments. Both fragments have an options menu. But this options menu does not appear in the action bar. I also added items to the "showAsAction" menu.
Set setHasOptionsMenu to true.