On Thu, Feb 4, 2010 at 12:52 PM, Michael Dorin <[email protected]> wrote:

> How could I setup an EditText field such that when it was selected for
> editing, all the text inside is selected so
> that it can be easily deleted.
>

EditText has a selectAll() method that will select the text inside of it.
Just call this wherever you're setting it up before presenting it to the
user.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to