IconButton

open class IconButton @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_iconButtonStyle) : Button

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

Author

Малышев Александр on 06.12.2024

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

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

Constructors

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

Properties

Link copied to clipboard
override var value: CharSequence?

Дополнительный текст кнопки

Functions

Link copied to clipboard
override fun setText(text: CharSequence?, type: TextView.BufferType?)