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

编程入门 行业动态 更新时间:2024-10-28 07:27:15
本文介绍了有没有办法使用新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?

本文发布于:2023-10-31 01:25:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1544582.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:没有办法   DrawerLayout   ActionBarSharlock

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!