//Start of the code
}
@Override
public boolean onCreateOptionsMenu(Menu menu){
// Show view in Manu
menu.add("setting").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
//Middle of the Code
return true;
}
@Override
public boolean onOptionsItemSelected(final MenuItem item) {
switch (item.getTitle().toString()) {
//Click Activity
case "setting":
showMessage("setting clicked");
_setting();
return true;
//End of the code
default:
return super.onOptionsItemSelected(item);
}
Video Help