I am converting an iOS app over and need to implement the equivalent of a UIActionSheet from iOS to Android.
What UI element would most closely mimic this.
I am targeting Android 2.2 and up.
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.
You would use an AlertDialog or Dialog object. The AlertDialog class does what you ask. Dialog allows for more customizability.
Edit: if you want the same animative effect, you’re going to need to use a SlidingDrawer.
Note: None of these classes, except maybe the AlertDialog, are as easy to use as the UIActionSheet.