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