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> 
it's called water mark or hint in android.
Comments
Post a Comment