setTextColorAttr

fun setTextColorAttr(view: TextView, context: Context, @AttrRes color: Int)

Sets the text color of the view from the set attribute color.

Author

Arnau Mora

Since

20211123

Parameters

view

The TextView to update.

context

The Context that is requesting the update.

color

The color attribute to set.