0

I have a pretty simple question about the Android ActionBar... is this intended to be present in the app, to use as a sort of header, or is it only intended to show when the user hits the setting button on the device?

I'm trying to implement a menu that is always present in the app, like a logo for branding, and some other actions, like a search icon and perhaps a map icon to see the map functionality. Any suggestions? Also see this post here

Community
  • 1
  • 1
botbot
  • 7,299
  • 14
  • 58
  • 96

2 Answers2

0

The ActionBar is always displayed. Check out the Android Developer Site for more information on the ActionBar UI patterns and usage.

You can use the excellent ActionBarSherlock library to provide an ActionBar on 2.x devices.

The ActionBar sounds perfect for the branding/icons you want. You would use your logo as the icon, and then have Action Items for Search and Map functionality.

antew
  • 7,468
  • 3
  • 23
  • 17
  • thanks for that comment. mine is not always showing, it only shows when i hit the settings button on the phone. wondering if i'm missing a step? – botbot Jun 03 '12 at 05:22
0

Have you put your android:targetSdkVersion to 11 or more ? ActionBar is available only for Honeycomb and ICS :)

Rémi F
  • 1,327
  • 12
  • 25