You can also do this with an AlertDialog.Builder. Here are the steps I've used that work (others may have even simpler ones):
1. Create and build the dialog via AlertDialog.Builder 2. Inflate a view with an edit text 3. Get a handle to the edit text via findViewById on the inflated view 4. Set the view on the dialog with setView in the AlertDialog.Builder 5. Show the dialog via show() 5. On dismissal of the dialog box, read the text from handle to your edit text. You should be able to put a text watcher and other things on the edit text also if you need. You can pretty much do any combination of views in the dialog, just make sure you test it to make sure it scrolls properly with the views so the user can get to all the fields if you use more than one. Steven Studio LFP http://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

