I need to ask as how should I inflate three buttons in an alert dialog. Basically a list view is available , and when user long presses on the list items , an alert dialog should appear, the dialog should have edit, delete and some other button, the buttons should perform their tasks when pressed, I’d really appreciate it, if someone could tell me as how I should inflate the alert dialog with the buttons.Thanks
Share
No need to invent the wheel twice..
Its called a context menu:
http://developer.android.com/guide/topics/ui/menus.html