Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “onCreateOptionsMenu()”:

Adding ActionBar Items From Within Your Fragments

By 20 Comments

This tutorial shows you how to add action items to the ActionBar from within your Fragments and how to disable or enable action items depending on the state of your fragment. All code works with the stock Android ActionBar object as well as with ActionBarSherlock. Why do you want to add action items? In a […]  Continue Reading  “Adding ActionBar Items From Within Your Fragments”