set Badge Gravity
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.
Sets this badge's gravity with respect to its anchor view.
Constant representing one of the possible BadgeGravity values. There are two recommended gravities: TOP_START and TOP_END.