I am developing an application where the user can edit the data in the ListView
. I want to have an EditText
inside that ListView, this edittext should behave like TextView but when the user clicks it it should look like EditText
, How can i achieve this functionality?
Actually the EditText inside the ListView looks ugly & i want that the EditText should look like a TextView bydefault but when the user try to Edit the data then it should look like the EditText.
I hope that my question is clear if not please ask.
The below files I used in my app.
main.xml in layout folder
myshape.xml in drawable folder
bg.xml in drawable folder
Java file