Is there a way to make EditText
behaviors like TextView
in Android (XML is prefered)?
I have tried the following:
android:editable
Now I get a new way. Since I turned off most features of EditText
, it should be better to think how to "beautify" the ugly white background of TextView
. And the answer is in the source code:
Just adding android:background="@android:drawable/edit_text"
to a TextView
makes the same effects.
Thanks again Matthew.