Possible Duplicate:
What is the equivalent of ActionBar in earlier sdk versions?
If I'm not mistaken, the Android guidelines say you should use the ActionBar for the global navigation within an app.
But at the same time, you typically want to target the oldest API possible for maximum compatibility.
I'm beginning development on an app and I set the target to Android 2.2.
Is it possible to use the action bar here? If not, what do i use?
Thanks Kevin
Use ActionBarSherlock.
getSupportActionBar()
. This returns either the regular actionbar (for Honeycomb and later) or the Sherlock actionbar (for pre-Honeycomb).If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With