Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “Action Bar”:

Adding ActionViews to Your ActionBar

By

As you have seen in the previous tutorials about ActionBarSherlock and the ActionBar, you can add action items easily and they show up either in the ActionBar itself or in the overflow menu. But so far all you could add were normal action items. And those consisted either of icons, of text or of a […]  Continue Reading  “Adding ActionViews to Your ActionBar”

Adding ActionBar Items From Within Your Fragments

By

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”

Adding ActionBarSherlock to Your Project

By

In my last post I had a look at how to set up a Fragment project that uses a master detail view. This week I am going to show you the necessary steps to make this project use the ActionBarSherlock library. ActionBarSherlock is a library by Jake Wharton, that enables you to use action bars […]  Continue Reading  “Adding ActionBarSherlock to Your Project”