SyntaxFix
Write A Post
Hire A Developer
Questions
In code:
editText.setEnabled(false);
Or, in XML:
android:editable="false"