BadgeView
Badge View.
Since
0.5.3
Constructors
Properties
When the coordinate of first touch is smaller than mMoveRadius + MIN_OFFSET_DISTANCE, it means you touched the starting red dot.
Functions
Draw a Bezier curve connecting circles centered at mMovePoint and mFixedPoint.
Get number string of mTextNumber.
Get minimum radius of the bubble.
Get text baseline.
Hide dot. The setting will only take effect when the mode is BadgeMode.DOT.
Reset mMovePoint and mFixedPoint.
The setting will only take effect when the mode is BadgeMode.BUBBLE.NUMBER or BadgeMode.BUBBLE.TEXT.
Set the text to be displayed in bubble.
Set the color-int of text.
Set the max number to be displayed in bubble.
Set the number to be displayed in bubble.
Set the text size of bubble in pixels.
The setting will only take effect when the mode is BadgeMode.DOT.
Set badge mode. Only useful when the current value of mBadgeMode is BadgeMode.UNSPECIFIED
Show dot. The setting will only take effect when the mode is BadgeMode.DOT.