How to Set a TextView to a Password field (with dots instead of text), using inputType
1. Add a TextView.2. In the main.xml file, add the below line
<TextView
....
android:inputType = "textPassword"
/>
3. Compile and run!
Related Articles:
Resources: