BadgeLayout
class BadgeLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.Default_BadgeLayout_Style, @StyleRes defStyleRes: Int = R.style.BaseBadgeLayout) : FrameLayout
Badge Layout.
Since
0.5.3
Constructors
Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.Default_BadgeLayout_Style, @StyleRes defStyleRes: Int = R.style.BaseBadgeLayout)
Properties
Functions
Link copied to clipboard
fun setIconPadding(@FloatRange(from = 0.0) top: Float = 0.0f, @FloatRange(from = 0.0) start: Float = 0.0f, @FloatRange(from = 0.0) end: Float = 0.0f, @FloatRange(from = 0.0) bottom: Float = 0.0f)
Set icon margin.