setBackgroundColor

open fun setBackgroundColor(@NonNull hexColorCode: String)

Parameters

hexColorCode

Color code in Hex format for the background color of the button (e.g. "#RRGGBB" or #AARRGGBB).

Throws

if there is an error parsing the hex color code