I am looking for this for 2 days. I can’t figure out how can i show an image( in my res folder) How can i show an image after clicking a button?
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.
Activity One:
Activity Two:
AndroidManifest.xml:
Activity One Layout:
Activity Two Layout:
AND second and best way use popupwindow and two layout one for main activity and another for popupwindow:
this code will show you an image in full screen when user press button and what you want apart from this please share your code….