I am working with action bars for the first time and would like to know for certain examples that show how to add new actions/buttons to the action bar and an intent on each button to load other classes.
A small code snippet with an xml layout would be of much help.
The most simple approach is to use the menu resource and use an showAsAction attribute for each item. Here is an example:
Items which have an “ifRoom” specified are added to the action bar if there is space available. Other possible values are “always” and “never” with the obvious meaning.
This will even work with the compatibility library.
Here is more info: http://developer.android.com/guide/topics/ui/actionbar.html