Toast View
class ToastView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_toastStyle, defStyleRes: Int = R.style.Sdds_Components_Toast) : CellLayout, ColorStateHolder
Представление для отображения тоста. Поддерживает иконки слева/справа, стилизованный текст и состояния цвета.
Parameters
context
Контекст
attrs
Аттрибуты view
def Style Attr
Аттрибут стиля по умолчанию
def Style Res
Ресурс стиля по умолчанию
Constructors
Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_toastStyle, defStyleRes: Int = R.style.Sdds_Components_Toast)