Skip to content Skip to sidebar Skip to footer

Textview Clickablespan Styling For Pressed State

I am subclassing ClickableSpan to customize the text style for links in my TextView. private static class LinkSpan extends ClickableSpan { @Override public void onClick(Vie

Solution 1:

For changing background color I did

testTextView.setHighlightColor(Color.BLUE);

on the TextView.

But having the chance to change the text color would be better to me.

Post a Comment for "Textview Clickablespan Styling For Pressed State"