本文介绍了有没有办法使用新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?
发布评论