Android ActionBarSherlock 重复菜单按钮

标签 android android-actionbar actionbarsherlock

我在使用 Android 4.0.3 编译的应用上使用 ActionBarSherlock。 在运行 JellyBean 4.2.1 的设备上进行测试时,我可以在 ActionBar 和底部 buttons 栏中看到溢出图标。

请参阅屏幕截图

如何删除底部的overflow按钮?

enter image description here

编辑:两个按钮都有效!

最佳答案

将您的 android:targetSdkVersion 增加到 14 或更高,正如我在 this blog post 中概述的那样.

关于Android ActionBarSherlock 重复菜单按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13915093/

相关文章:

android - 如何正确实现 SlidingMenu.OnOpenedListener?

android - 更新到 AndroidStudio 3.2,尝试构建时出现问题 : Could not find the AndroidManifest. xml 文件,使用生成文件夹

android - 如何在操作栏中添加后退箭头?

android - Robolectric:如何测试 SherlockActivity

android - 如何将溢出菜单添加到工具栏?

java - 当我将操作栏与 fragment 一起使用时,操作栏给出空指针异常

Android:无法实例化 Activity ComponentInfo

android - eclipse 上新的 android 应用程序项目和新的 android 示例项目之间的区别

android:从操作栏显示一个警告对话框

android - 自定义首选项 - 按钮不可点击