I have a menu in the actionbar which I create through:
@Override public boolean onCreateOptionsMenu(Menu menu) { menu.add(Menu.NONE, 98,Menu.NONE,R.stri
The toolbar is not the actionBar, no need of the call :
openActionBarOverflowOrOptionsMenu(InstrumentationRegistry.getTargetContext());
And if you do it, that's sure your item won't be found there (it's not in the ActionBar) and the ToolBar belongs to the "normal view".