How to make an EditText uneditable/disabled

Viewed 59299

I have a EditText in which the user should not be able to provide input. So I tried disabling it,by

edittext.setEnabled(false);
edittext.setClickable(false);

But still when I press the "next" button in the softKeyboard from some other EditText it directs me to the one which should not be editable and I am able to insert values into it. How to avoid this?

11 Answers
Related