I am having difficulty adding an extra icon (the ic_launcher is added in the styles.xml; there is no menu.xml) to the ActionBar. I have added a dropdown which works fine (the 3 dots), but if I use the following code the "Item" text is added to this and not the ActionBar (the icon appears nowhere).
private void CreateMenu(Menu menu) {
MenuItem mnu1 = menu.add(0,0,0,"Item"); {
mnu1.setIcon(R.drawable.ic_newicon);
}
public boolean onCreateOptionsMenu(Menu menu) { //--- Everything in the dropdown works fine --
getMenuInflater().inflate(R.menu.activity_main_actions, menu); //--- The dropdown menu --
return super.onCreateOptionsMenu(menu);
...
}
I am obviously missing something simple here. Can anyone assist please?