开发者

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

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


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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜