setHorizontalOffset

open fun setHorizontalOffset(px: Int)

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

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

Parameters

px

badge's horizontal offset