public override bool OnOptionsItemSelected(IMenuItem item)
{
switch (item.ItemId)
{
case Resource.Id.action_edit:
Toast.MakeText(this, "You pressed edit action!", ToastLength.Short).Show();
break;
case Resource.Id.action_save:
Toast.MakeText(this, "You pressed save action!", ToastLength.Short).Show();
break;
}
return base.OnOptionsItemSelected(item);
}
}