public SimpleMenuItem (SimpleMenu menu, int id, int order, ICharSequence title) { mMenu = menu; mId = id; mOrder = order; mTitle = title; }
public SimpleMenuItem(SimpleMenu menu, int id, int order, ICharSequence title) { mMenu = menu; mId = id; mOrder = order; mTitle = title; }
public virtual void OnPostCreate (Bundle savedInstanceState) { // Create the action bar SimpleMenu menu = new SimpleMenu (activity); activity.OnCreatePanelMenu ((int)WindowFeatures.OptionsPanel, menu); // TODO: call onPreparePanelMenu here as well for (int i = 0; i < menu.Size (); i++) { IMenuItem item = menu.GetItem (i); AddActionButtonCompatFromMenuItem (item); } }
public virtual void OnPostCreate(Bundle savedInstanceState) { // Create the action bar SimpleMenu menu = new SimpleMenu(activity); activity.OnCreatePanelMenu((int)WindowFeatures.OptionsPanel, menu); // TODO: call onPreparePanelMenu here as well for (int i = 0; i < menu.Size(); i++) { IMenuItem item = menu.GetItem(i); AddActionButtonCompatFromMenuItem(item); } }