setTitleTextColor

open fun setTitleTextColor(@ColorInt color: Int)

Sets the text color of the title, if present.

Parameters

color

The new text color in 0xAARRGGBB format


open fun setTitleTextColor(@NonNull color: @NonNull ColorStateList)

Sets the text color of the title, if present.

Parameters

color

The new text color