I want to bring a view to focus just like an AlertDialog. How can I do this ?
P.S: My view is fairly complex and hence, I’m using a FrameLayout as suggested in Android Docs.
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.
Whenever I’ve show complex View in Dialog, I prefer to put whole view in XML and then Make a new Activity and set the content view of Activity to that XML and then start activity as Dialog by this
Have a look at the post
Android Activity as a dialog
it is fairly easy and simple and straight forward, Hope this helps!