Hi ...

\n will also appear in Text view

better use a logic to split the text into 'n' number of lines u want and
then display it on the text view

Abu

On Tue, Sep 1, 2009 at 10:48 AM, Gulfam <[email protected]> wrote:

>
> Hi Rud,
>
> In text view it will automatically break the text  when text will
> reaches at end but if you want to break text according to your
> requirement so just put \n not "\n" or "\\n".
>
> Regards,
> Gulfam
>
> On Aug 29, 12:01 am, "Balwinder Kaur (T-Mobile USA)" <balwinder.k...@t-
> mobile.com> wrote:
> > Use just \n.
> >
> > Balwinder Kaur
> > Open Source Development Center
> > ·T· · ·Mobile· stick together
> >
> > The views, opinions and statements in this email are those of the
> > author solely in their individual capacity, and do not necessarily
> > represent those of T-Mobile USA, Inc.
> >
> > On Aug 28, 10:29 am, Rud <[email protected]> wrote:
> >
> > > I am trying to insert line breaks into a string resource so they
> > > appear in a TextView. I put in "\\n" but all I get is "\n" appearing.
> > > Is there a setting I'm missing?
> >
> > > Rud
> >
>

--~--~---------~--~----~------------~-------~--~----~
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