有没有办法使用新DrawerLayout与ActionBarSharlock? [英] Is there any way use new DrawerLayout with ActionBarSharlock?

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

问题描述

我想知道是否有什么办法可以使用​​新的DrawerLayout从支持库ActionBarSherlock? 我找到了解决方法ICS +,但我需要的是Android 2.2+支持 现在的问题是,对于原android.view.MenuItem只有当ICS +但对于旧版本有内在的实现,坚持不住了原来的一个参考。

I am wondering if there any way to use new DrawerLayout from support library with ActionBarSherlock? I found workaround for ICS+ but what i need is support for android 2.2+ The problem is that ABS hold reference for original android.view.MenuItem only when ICS+ but for older version there is inner implementation that not hold reference for original one.

推荐答案

还有就是完美的作品在GitHub上的一个项目

There is a project on GitHub that works perfectly

SherlockNavigationDrawer

希望这有助于

这篇关于有没有办法使用新DrawerLayout与ActionBarSharlock?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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