API level 11 and above
If you want your apps to run on API level 11 or above, you add an action bar by applying
Theme.Holo or one of its subclasses. This is what you’ll need to do most of the time. For API level 21 or above, you have the added option of using one of the newer
Theme.Material themes. There are several different themes to choose from depending on what appearance you want your app to have. As an example, applying a theme of
Theme.Material.Light.DarkActionBar will give you activities with a light background a...
Come back to this section when you have to think about devices API levels and action bars for them!
Share this highlighthttp://www.safaribooksonline.com/a/head-first-android/4071531/