Reputation: 1437
Can anybody help me that how to get the submenu when imagebutton is clicked as like shown in the image below.
Thank you in advance.
Upvotes: 0
Views: 1288
Reputation: 564
I think it is PopupWindow
you should take a look on this page http://android-er.blogspot.com/2012/03/example-of-using-popupwindow.html
Upvotes: 2
Reputation: 1836
You create an view in xml with the required submenu options and during the onClick of the menu options u inflate the view and display it. It will work fine. I suggest u use fragments to make the code re-useable.
Upvotes: 1