有没有办法使用新DrawerLayout与ActionBarSharlock?没有办法、DrawerLayout、ActionBarSharlock

由网友(青梅已枯,竹马已老)分享简介:我想知道是否有什么办法可以使用​​新的DrawerLayout从支持库ActionBarSherlock?我找到了解决方法ICS +,但我需要的是Android 2.2+支持现在的问题是,对于原android.view.MenuItem只有当ICS +但对于旧版本有内在的实现,坚持不住了原来的一个参考。I am...

我想知道是否有什么办法可以使用​​新的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

希望这有助于

阅读全文

相关推荐

最新文章