Will the new ActionBar API be included in the Fragment backport?

3.1k views Asked by At

With the blogpost yesterday regarding us getting a healthy dose of Fragments all the way back to 1.6, I was wondering, will the ActionBar APIs be included in this backport?

They appear to be somewhat linked together, from the API Docs at the least. However, I could see the Fragments being separate from the ActionBar, but not visa-versa.

Anybody have any news?

Thanks -- Selig

3

There are 3 answers

3
Romain Guy On BEST ANSWER

No it won't be included in the fragments library. The ActionBar is not tied to fragments at all.

2
Taranfx On

No, it won't but here is official Android sample that will help you achieve ActionBar from 1.6 to 4.x

0
Intrications On

ActionBarSherlock at https://github.com/JakeWharton/ActionBarSherlock is an Android library for implementing the action bar design pattern using the native ActionBar on 3.0+ and a third-party library on pre-3.0.

It uses one of the other ActionBar implementations on pre-3.0 devices, either:

GreenDroid at https://github.com/cyrilmottier/GreenDroid

or android-actionbar at https://github.com/johannilsson/android-actionbar