AlertDialog with an editText in Android

Posted by EGHDK on Stack Overflow See other posts from Stack Overflow or by EGHDK
Published on 2012-09-17T21:35:49Z Indexed on 2012/09/17 21:37 UTC
Read the original article Hit count: 336

Filed under:
|
|

I need to put in an editText inside of an alertDialog. From what I can understand, from this, I need to create a custom dialog. Is that really the only way to put an editText in a alertDialog? I don't want to take make steps than needed to complete a simple task. It should like this in the end:

------------------------
-Please enter your name-
- [                   ]-
-         (Save)       -
------------------------

© Stack Overflow or respective owner

Related posts about java

Related posts about android