On Thu, Oct 14, 2010 at 7:26 PM, DanH <[email protected]> wrote:
> Other platforms have a facility for specifying prompt text to appear
> in a text entry box, but I don't see an Android way to do it (though
> I'm no expert).  You could easily fake it, though, by making the
> background of the EditText transparent and placing a TextView behind
> it containing the prompt text.  Clear the prompt text with the first
> keystroke in the EditText.

Have a look at:

TextView.setHint(int resid)

-- 
Daniel Drozdzewski

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to