Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a username and password pop-up on Android [closed]

Tags:

java

android

How can I create a custom dialog for entering username and password when I press any button on Android?

like image 788
OnkarDhane Avatar asked Dec 16 '22 16:12

OnkarDhane


1 Answers

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

like image 157
Will Tate Avatar answered Dec 19 '22 07:12

Will Tate