How can I create a custom dialog for entering username and password when I press any button on Android?
Onkar,
You would probably want to built a custom Dialog
with an EditText
for name, and EditText
for password with OK and Cancel buttons at the bottom.
You can read about creating a custom Dialog
here: http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
Good Luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With