BackgroundCustomization

data class BackgroundCustomization(@ColorRes var backgroundColor: Int? = null, @DimenRes var cornerRadius: Int? = null, @ColorRes var borderColor: Int? = null, @DimenRes var borderWidth: Int? = null, @DimenRes var bgElevation: Int? = null)

Use this class to set the background style of a specified user interface element.

Parameters

backgroundColor

Background colour resource reference.

cornerRadius

Button corner radius resource reference.

borderColor

Border colour resource reference.

borderWidth

Border width resource reference.

bgElevation

Button elevation resource reference.

Constructors

Link copied to clipboard
constructor(@ColorRes backgroundColor: Int? = null, @DimenRes cornerRadius: Int? = null, @ColorRes borderColor: Int? = null, @DimenRes borderWidth: Int? = null, @DimenRes bgElevation: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard