Monday 26 September 2016

Make edit text not editable but clickable programmatically

apply -
     editText.setFocusable(false);
     editText.setClickable(true);

but if you want to edit text not editable and not clickable then apply
    editText.setEnable(false);


3 comments: