setTabRippleColorResource

open fun setTabRippleColorResource(@ColorRes tabRippleColorResourceId: Int)

Sets the ripple color resource for this TabLayout.

When running on devices with KitKat or below, we draw this color as a filled overlay rather than a ripple.

Parameters

tabRippleColorResourceId

A color resource to use as ripple color.

See also