Re: [mono-android] Underline text in TextView

2012-04-13 Thread Jonathan Pryor
On Apr 13, 2012, at 4:10 AM, DiCo wrote: > 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(co

Re: [mono-android] Underline text in TextView

2012-04-13 Thread DiCo
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.se

Re: [mono-android] Underline text in TextView

2012-04-12 Thread Jonathan Pryor
On Apr 12, 2012, at 7:38 AM, DiCo wrote: > I didn't find the exmaple for mono for android C#, example on Java (like > using SpannableString doesn't work) What was your example Java code and equivalent C# code? I would expect that to work. We have a sample that uses string formatting via resourc

[mono-android] Underline text in TextView

2012-04-12 Thread DiCo
Hi, I need to set underline text in my TextView dynamically in activity.cs and i don't know how to do that... I didn't find the exmaple for mono for android C#, example on Java (like using SpannableString doesn't work) Can anybody help ? -- View this message in context: http://mono-for-androi