setItemRippleColor

open fun setItemRippleColor(@Nullable itemRippleColor: ColorStateList)

Set the background of our menu items to be a ripple with the given colors.

Parameters

itemRippleColor

The ColorStateList for the ripple. This will create a ripple background for menu items, replacing any background previously set by setItemBackground.