setBackgroundColor

open fun setBackgroundColor(color: Int)

Sets the background color of the submenu. Updates the internal color value and refreshes the submenu's visual appearance.

Parameters

color

The background color to set.