Is there a way to make EditText behaviors like TextView in Android (XML is prefered)?
I have tried the following:
android:editable
EditText and TextView are quite similar. The only difference I see hard-coded into EditText.java is to set the editable default to true, which you've set manually. Other than that, the EditText style is:
and TextView is:
My guess is that @android:drawable/edit_text is the source of the orange box. Indeed, it contains:
The simplest way might be to set its background to the default one:
android:background="@android:drawable/textfield_default"