PowenKo, Tutorial, EditText 012-3,edittext widget to be readonly.


layout xml

android:editable="false"

in code

EditText txt = (EditText)findViewById(R.id.YOUREDITTEXTID);
txt.setEditable(false);

Leave a Reply