How to use EditTextPreference as a masked Password text field?
Here is a short example using xml: <EditTextPreference android:key=”@string/key” android:title=”@string/title” android:summary=”@string/summary” android:inputType=”textPassword” /> Or you can use numberPassword instead of textPassword.