Kim Montano Kim Montano - 1 year ago 98
Java Question

Android password XML attribute - Deprecated

How do I mask editText now?

enter image description here

My inputType is number. How should I mask it now and at the same time restricting it to just number?

Answer Source

You can use android:inputType="numberPassword" for the EditText.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download