0

Menu item showing on both never and always states

<?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>
HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
Naveen Kumar M
  • 7,497
  • 7
  • 60
  • 74

1 Answers1

0

check if your menu is being created more than once, if have Activity or fragment that creates the menu, and class that it extend is creating the same menu you would have this. more over if you are creating the menu in the fragment and the fragment is being add more than once you would see this

Mustafa ALMulla
  • 870
  • 2
  • 10
  • 23