I want to make a read-only EditText view. The XML to do this code seems to be android:editable=\"false\", but I want to do this in code.
EditText
android:editable=\"false\"
H
This was the only full simple solution for me.
editText.setEnabled(false); // Prevents data entry editText.setFocusable(false); // Prevents being able to tab to it from keyboard