Hide default Android Soft-input in EditText doesn't works
I have try to hide the default soft-input keyboard with
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
but when I click the EditText the keyboard appears again
I have tried also
input.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);
and
android:imeOptions="flagNoExtractUi"
with no result, the keyboard appears always when I click the EditText.
If I set inputType null, the keybard doesn't appear but the editText
became unusable since I cannot select or move the cursor anymore nor
copy-paste anything
Any solution?
No comments:
Post a Comment