Jon, thanks.

You gave me idea  - and i found the way ))

Example that doesn't work in my case:

TextView textView = (TextView) view.findViewById(R.id.textview);
> SpannableString content = new SpannableString("Content");
> content.setSpan(new UnderlineSpan(), 0, content.length(), 0);
> textView.setText(content);
and


> TextView textView = (TextView) view.findViewById(R.id.textview);
> textView.setText(Html.fromHtml(getString(R.string.your_string_here)));

In my case TextView.SetText Method doesn't have any ovveride version with
ISpanned as parameter.

The only way that i found:


>  myTextView.TextFormatted = Html.FromHtml(MyString); 

where MyString is like '<u>Underline Text</u>'




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Underline-text-in-TextView-tp5635390p5637630.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to