XML : Android - How put a backgroud text in a EditText? [duplicate]

This question already has an answer here:

Hy guys!

I have putted a EditText in a xml. I want that this EditText be for put a name.

I want that appears in this EditText the text "Insert the Name", but when the use click on it, the text don't is there anymore, so the user don't need to delete the phrase "Insert the Name".

It's like the "Event name" in this image:

https://lh6.ggpht.com/9wkpUiqPvxA309OLu-8NqiN81_wFsS8FKPxURNDmiMir8X9UjuIbfrUxeeP7JAzXSw=h310

What is need to do in the EditText ? Thanks!

No comments:

Post a Comment