如何实现在API层面的操作栏小于11? [英] How to implement the action bar in api levels less than 11?

查看:171
本文介绍了如何实现在API层面的操作栏小于11?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近读到的操作栏执行在Android在开发site.But我发现,它需要11.Can人的最低API级别告诉我是否有可能在阿比层层落实行动起来吧少于11个这样的8或9.如果是我怎么能做到这一点?

I recently read about the action bar implementation in android in the dev site.But i found that it requires a minimum api level of 11.Can someone tell me whether it is possible to implement action bar in Api levels less than 11 such as 8 or 9.If yes how can i do this?

推荐答案

ActionBarSherlock在 http://actionbarsherlock.com 是一个Android库实现对3.0+使用原生的动作条的操作栏的设计模式和在$ P $第三方库P-3.0。

ActionBarSherlock at http://actionbarsherlock.com 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.

现在还有ActionBarCompat - Android的支持库的一部分:的http://android-developers.blogspot.co.uk/2013/08/actionbarcompat-and-io-2013-app-source.html

There is now also ActionBarCompat - part of the Android Support Library: http://android-developers.blogspot.co.uk/2013/08/actionbarcompat-and-io-2013-app-source.html

这篇关于如何实现在API层面的操作栏小于11?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆