how to invisible item
XH888 opened this issue · 0 comments
XH888 commented
use setMenuItemEnabled() function , can not be success
use android:visible="false" is same
<item android:id="@+id/connect" android:color="?colorPrimary" android:icon="@drawable/ic_network_connection" android:contentDescription="@string/connect" android:title="@string/connect"/>