EditText is a thin veneer over TextView that configures itself to be editable.
Here is the simple code for make not editable or disable in android;
Here is the simple code for make not editable or disable in android;
edittext.setKeyListener(null);
or
edittext.setFocusable(false);
edittext.setClickable(true);
More about EditText.
Happy Coding!!!