setItemBackground

open fun setItemBackground(@Nullable background: Drawable)

Set the background of our menu items to the given drawable.

This will remove any ripple backgrounds created by setItemRippleColor.

Parameters

background

The drawable for the background.