我有以下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>
这会使我的文本变成黑色的下划线。如果我想要链接(“bar”部分)为蓝色非下划线文本,但是我希望其余部分(“foo”部分)为黑色,我该怎么做呢?如何实现?