public override bool OnOptionsItemSelected(ActionbarSherlock.View.IMenuItem p0) { var text = p0.TitleFormatted.ToString(); if (text == Activity.Title) { ((SlidingFragmentActivity)Activity).SlidingMenu.ShowMenu(); return true; } return base.OnOptionsItemSelected(p0); }
public override bool OnOptionsItemSelected(ActionbarSherlock.View.IMenuItem item) { switch (item.ItemId) { case global::Android.Resource.Id.Home : Toggle(); return true; } return base.OnOptionsItemSelected(item); }
public override bool OnOptionsItemSelected(ActionbarSherlock.View.IMenuItem p0) { this.AppLog(string.Format("Begin OnOptionsItemSelected, ItemId = {0}, TitleFormatted = {1}", p0.ItemId, (p0.TitleFormatted ?? new SpannedString("null")).ToString())); switch (p0.ItemId) { case 16908332: this.AppLog("OnOptionsItemSelected 16908332"); this.SupportFragmentManager.PopBackStack(); break; default: this.AppLog("OnOptionsItemSelected ???"); break; } return base.OnOptionsItemSelected(p0); }
public override bool OnOptionsItemSelected(ActionbarSherlock.View.IMenuItem item) { switch (item.ItemId) { case Android.Resource.Id.Home: if (this is HomeActivity) { return false; } NavUtils.NavigateUpFromSameTask(this); return true; } return base.OnOptionsItemSelected(item); }
public override bool OnCreateOptionsMenu(ActionbarSherlock.View.IMenu p0) { this.AppLog("Begin OnCreateOptionsMenu"); return base.OnCreateOptionsMenu(p0); }
public override void OnCreateOptionsMenu(ActionbarSherlock.View.IMenu p0, ActionbarSherlock.View.MenuInflater p1) { p0.Clear(); base.OnCreateOptionsMenu(p0, p1); }