How do I mask editText now?
My inputType is number. How should I mask it now and at the same time restricting it to just number?
You can use android:inputType="numberPassword" for the EditText.
android:inputType="numberPassword"