IconBadge

open class IconBadge @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_iconBadgeStyle, defStyleRes: Int = R.style.Sdds_Components_Badge) : Badge

Компонент "Badge с иконкой". Умеет отображать только иконку.

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

аттрибут стиля по умолчанию

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_iconBadgeStyle, defStyleRes: Int = R.style.Sdds_Components_Badge)

Properties

Link copied to clipboard
override var text: CharSequence?

Текст