setForegroundColor

fun setForegroundColor(@ColorInt() color: Int): SpanBuilder

Set the span of foreground's color.

Return

the single SpanBuilder instance

Parameters

color

The color of foreground