>From the SDK reference for TextView: public void setSingleLine () Sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input.
Related XML Attributes android:singleLine public void setSingleLine (boolean singleLine) If true, sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input; if false, restores these to the default conditions. Note that calling this with false restores default conditions, not necessarily those that were in effect prior to calling it with true. Related XML Attributes android:singleLine Regards, Narasimha On Jun 23, 8:03 pm, tstanly <[email protected]> wrote: > hi all, > > i use the webkit and the EditText to compose my browser, > when i key url in my EditText, > if the url is too long, it will continue in the next line, > > i want to my input url area like ie or firefox, > if the word is too long,always in one line.. > > how to do this? > > thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

