Grokking Android

Getting Down to the Nitty Gritty of Android Development

Adding ActionBar Items From Within Your Fragments

By 19 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”

ActionBarSherlock: Up Navigation

By 12 Comments

In this tutorial I am going to cover some initial thoughts on navigation. The ActionBar allows multiple navigation modes. In this post I state which navigation modes exist, how to get to the ActionBar object in the first place and how to deal with the so-called up navigation. Less code than in the previous parts […]  Continue Reading  “ActionBarSherlock: Up Navigation”