setVerticalOffset

open fun setVerticalOffset(px: Int)

Sets how much (in pixels) to vertically move this badge towards the center of its anchor.

This sets the vertical offset for badges both without text (dots) and with text.

Parameters

px

badge's vertical offset