setTextColor

open fun setTextColor(color: Int)

Sets the text color for all the states (normal, selected, focused) to be this color.

Parameters

color

A color value that will be applied