"R.string.your_txt" will return that string. Just set you TextView to
R.string.your_txt.

On Mon, Apr 13, 2009 at 11:02 PM, Kaka <[email protected]> wrote:

>
> Then, how to implement this in code?
>
> On Mar 23, 9:10 pm, manoj <[email protected]> wrote:
> > define a String item in Strings.xml as:
> >
> > <string name="your_txt"><u>txt to be displayed</u></string>
> >
> > use this in your layout.
> >
> > On Mar 23, 4:55 pm, aby <[email protected]> wrote:
> >
> > > Hi,
> > > Does anyone know how to set underline attribute on a TextView?
> > > I just see it can set bold and italic on TextView.
> >
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to