I have the following TextView:
<TextView android:id="@+id/theFooBar"
android:autoLink="web"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:text="@string/fooBar"
android:textColor="@android:color/black"
android:textSize="20sp"/>
And the string:
<string name="fooBar">Foo <u>bar</u>.</string>
This gives my black, underlined text. What if I want blue, non-underlined text for the link (the “bar” part), but I want the rest (the “foo” part) to be black? How could I achieve that?
I recommended you to use WebView instead of TextView in this situation: