android - Need username to disappear when clicking -


i new android , goin through basic login application in android. wanted know how make "username" disappear when click username field in applications can see. have delete string "username" in username field , type feel awkward. there can implement feature???

thanks, in advance

simple android:hint="enter name" property in user name edit text.

it looks like

    <edittext         android:id="@+id/edittext_username"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:hint="enter name" >   <!-- here  -->        <!-- other rules  -->     </edittext> 

enter image description here

it's called water mark or hint in android.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -