labelBackgroundColor

var labelBackgroundColor: Int

The color of the Label's background, as an integer in the form 0xAARRGGBB.

If using an XML resource color value, retrieve it in the correct form by calling: ContextCompat.getColor(context, R.color.name_of_color_resource).

Usage of this property is preferred over the inherited setBackgroundColor method.