android - How to Add a Menu Without a Bar -
i've seen lot of applications there no actionbar there menu how? picture enter image description here how can create this
http://developer.android.com/guide/topics/ui/menus.html
learn more ^
public void noactionbar(view v) { popupmenu popup = new popupmenu(this, v); menuinflater inflater = popup.getmenuinflater(); inflater.inflate(r.menu.actions, popup.getmenu()); popup.show(); }
Comments
Post a Comment