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 <orz0...@gmail.com> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to