withBackgroundColor

public final Unit withBackgroundColor(@ColorRes() Integer resId)

Matches the view with given background color

Parameters

resId

Color to match


public final Unit withBackgroundColor(String colorCode)

Matches the view with given background color code

Parameters

colorCode

Color code to match