Deprecated: How to Display characters as password dots in TextView/EditText
Deprecated in API Level 3, added in API Level 1Use inputType = "textPassword" instead.
Characters of the field are displayed as password dots instead of themselves.
1. Create an Android project, if you don't already have one.
3. In the main.xml file, add the code below.
...
android:password = "true"
/>
4. Compile and run!
Related Articles:
Resources:
http://developer.android.com/reference/android/R.attr.html#password