How to make a window dialog that contain only an EditText and that popup like an alert to get Text from user under Android please.?

I've already checked this [Get text from an EditText](https://stackoverflow.com/questions/7612069/get-text-from-an-edittext)