setBadgeGravity

open fun setBadgeGravity(gravity: Int)

Sets this badge's gravity with respect to its anchor view.

Parameters

gravity

Constant representing one of the possible BadgeGravity values. There are two recommended gravities: TOP_START and TOP_END.