Monday, August 22, 2011

Set hint text of EditText

android:hint set hint text to display when the EditText is empty. The hint text will disappear once user enter any text.

<EditText 

android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Hint Text:" />


No comments: