Articles‎ > ‎Android Articles‎ > ‎

EditText Hint In Android

posted Jan 25, 2011, 2:16 AM by Thiyagaraaj M   [ updated Feb 1, 2011, 7:20 AM by Thiyagaraaj Mp ]
EditText Hint In Android
Syntax:

android:hint="hint-statement"

Example:

    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"
    android:hint="Enter user Name"
    />

Screenshot:



Comments