super super - 29 days ago 16
Android Question

how to change color of textview hyperlink?

I am using this code for hyperlink:

<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/hyperlink"
android:text="@string/hyperlink"
android:autoLink="web"/>


By default it is showing blue color, but how do I change color of hyperlink in Android?

Answer

Add android:textColorLink="yourcolorhere" to your TextView

Comments