I hope that the word "Click here" display red color, but the following code don't work, how can I do ? Thanks!
TextView mLink = (TextView) findViewById(R.id.tvMyLink);
Spanned my=android.text.Html.fromHtml(getString(R.string.mylink));
mLink.setText(my);
<string name="mylink"><span style="color:#FF0000;">Click here </span> for the latest news!</string>
<TextView
android:id="@+id/tvMyLink"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mylink" />