Android Password XML Attribute – Deprecated… here is a solution to the problem.
Android Password XML Attribute – Deprecated
How do I block editText now?
My input type is number. How should I mask it now while limiting it to numbers?
Solution
You can use android:inputType="numberPassword"
for EditText.