为什么要使用ActionbarSherlock? [英] Why should I use ActionbarSherlock?

查看:212
本文介绍了为什么要使用ActionbarSherlock?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过吨,与ActionbarSherlock的使用答案。即使是我用了几个月我还没有回答我为什么要真正使用?更重要的是它提供了比普通Android的支持库?我可以使用支持的lib获取相同的外观。
我知道它使用无论是支持还是依赖于运行Android版本本机实现,但什么是这样做的实际的好处?


解决方案

  

更重要的是它提供了比普通Android的支持库?我可以使用
  支持LIB获取相同的外观。


支持,在支持LIB动作条。 ABS是在ActionBar的唯一反向移植。所以,如果你想拥有矿石HC装置的动作条,那么这是唯一的方法如何。

编辑:结果
现在有在支持库中的动作条提供的官方回港。

I have seen tons of answers related to usage of ActionbarSherlock. Even that I use it for months I still don't have an answer why should I really used? What more it gives than the regular Android support library? I can use the support lib to gain the same visual appearance. I know it uses either the support or the native implementation depending on the running android version, but what's the practical benefit of this?

解决方案

What more it gives than the regular Android support library? I can use the support lib to gain the same visual appearance.

There is no support ActionBar in the support lib. ABS is the only backport of the ActionBar. So if you want to have an ActionBar on ore HC devices, then this is the only way how to.

Edit:
There's now an official back port of the ActionBar available in the support library.

这篇关于为什么要使用ActionbarSherlock?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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