0

I see some kind of action bars in some pre-honeycomb apps. For example in Google docs and picassa tool apps. Some non-google apps have the same action bar too. For example twitter. This bars looks similar. Is there some control or widget?

earsonheart
  • 1,042
  • 2
  • 12
  • 25

1 Answers1

1

The Action Bar re-uses items from the Options menu and was introduced in the 3.0 SDK. You enable it in your app by following the instructions here.

For a "pre-honeycombe" app you will still need to build against the 3.0 SDK; increase the targetSdkVersion value in your manifest to "11" and set the minSdkVersion to the lowest Android version you are supporting. For example:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="11" />
seanhodges
  • 17,426
  • 15
  • 71
  • 93