Make EditText ReadOnly?

If you setEnabled(false) then your editText would look disabled (gray, etc). You may not want to change the visual aspect of your editor. A less intrusive way would be to use setFocusable(false).

I believe that this answers your question closer to your initial intent.

EditText. SetEnabled(false); editText. SetFilters(new InputFilter { new InputFilter() { public CharSequence filter(CharSequence src, int start, int end, Spanned dst, int dstart, int dend) { return src.length() Dst.

SubSequence(dstart, dend) : ""; } } }); This will give you uneditable EditText filter. You first need to put the text you want on the editText field and then apply this filter.

If you setEnabled(false) then your editText would look disabled (gray, etc). You may not want to change the visual aspect of your editor. A less intrusive way would be to use setFocusable(false).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions