开发者

No pre-built ActionBar for Android pre-3.0?

I note the release a few days ago of the static library bringing fragments to Android versions prior to 3.0, but does this library include the ActionBar? I suspect not.

I assume that for an app that will work on pre-3.0 versions, that it needs a hand-built ActionBar implementation for versions up开发者_如何学JAVA to 2.3 and then to use the OS default ActionBar in v3.0?

for some reason I assumed the library had ActionBar in it, but as I dig further I'm not finding any evidence of its presence.


The static library does not contain the ActionBar. Probably because the ActionBar is a window feature and could not properly be added as a static library.

You should fall back to something that most applications use today. Namely the "action bar" that Google uses in their I/O app for example.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜