setSelectedTabIndicatorColor

Sets the tab indicator's color for the currently selected tab.

If the tab indicator color is not Color.TRANSPARENT, the indicator will be wrapped and tinted right before it is drawn by draw. If you'd like the inherent color or the tinted color of a custom drawable to be used, make sure this color is set to Color.TRANSPARENT to avoid your color/tint being overridden.

Parameters

color

color to use for the indicator