On Wed, Feb 1, 2012 at 11:12 PM, Stéphane Bruno <mysubscripti...@websystems.ht> wrote: > I am trying to programmatically select all the text in an EditText field > when a user touches the field so that when the user starts typing it > replaces the existing text (I cannot use settings in the XML file because > this field is programmatically added to the screen).
setHint() is an available method, used to set the hint text from Java. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en