I have a very simple question: I have a EditTextPreference dialog which I want to use for getting the user\'s password and I want it to be masked.
EditTextPreference
How c
If you want that the password mask persist also after device rotation is suffice to add the following imeOption:
imeOption
in the edit text layout android:imeOptions="flagNoExtractUi"
android:imeOptions="flagNoExtractUi"
or programmatically yourEditText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);
yourEditText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);