If I disable an EditText widget using
EditText
editText.setEnabled(false);
I can still type into it using the on-screen input method (in
Use this, it worked for me
setFocusableInTouchMode(boolean); setFocusable(boolean);