I’m writing a program for android, I want to use a popup Menu that has two buttons that When I click on each of them, they open another activity.How can I do that ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
View looks like this:
Set this view as content :
View is inflated layout wich has two buttons with set click listeners. Parent view is that will show this popup on click.
Good luck!