I need to create a login form with \'username\' \'password\' fields and two buttons \'login\' and \'cancel\' in my android application.
I am using an alert dialog w
This is deprecated
In xml of EditText iclude this attribute: android:password="true"
Edit
android:inputType="textPassword"