It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andca开发者_开发技巧nnot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and ca开发者_开发技巧nnot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
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
精彩评论