how to give label text inside Edit text?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

how to give label text inside Edit text?

Postby mr_muskuraha » Thu Feb 04, 2010 2:18 pm

dear friends,

i want to have lable of EditText inside in it so that i some one clicks on it. it should disapear and user start writing in it.


for example

in Edittext by default it should appear "Username"
if user clicks then it must get empty.

any help would be appriciated.
mr_muskuraha
Senior Developer
Senior Developer
 
Posts: 142
Joined: Wed Jan 13, 2010 8:49 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests