【发布时间】:2013-01-22 18:32:59
【问题描述】:
我正在使用 actionbarsherlock 作为操作栏。它工作得很好 在 android 1.x 和 2.x 下但经过一些测试我注意到 在 android 4.x 中没有显示菜单项。 这是我的菜单项的 xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/overview_newgame"
android:showAsAction="withText"
android:title="@string/new_game"/>
</menu>
这就是它在 android 4.x 下的样子
【问题讨论】:
标签: java android xml actionbarsherlock