I want to make a read-only EditText
view. The XML to do this code seems to be android:editable="false"
, but I want to do this in code.
How can I do this?
I want to make a read-only EditText
view. The XML to do this code seems to be android:editable="false"
, but I want to do this in code.
How can I do this?
This worked for me, taking several of the suggestions above into account. Makes the TextEdit focusable, but if user clicks or focuses, we show a list of selections in a PopupWindow. (We are replacing the wacky Spinner widget). TextEdit xml is very generic...