0
菜单项显示两个从来没有,总是指出操作栏菜单项被复制在Android Studio中
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:apptivo="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_create"
android:icon="@drawable/ic_action_new_white"
android:orderInCategory="2"
android:title="@string/create_string"
apptivo:showAsAction="always" />
</menu>
你想要什么最后? –
我希望菜单项处于始终状态。不想在两种状态 –
http://stackoverflow.com/questions/17914017/android-4-3-menu-item-showasaction-always-ignored –