TextButtonChatStyle

data class TextButtonChatStyle(var chatText: TextMessageStyle? = null, @ColorRes var strokeColorResId: Int? = null, @DimenRes var strokeWidthDpResId: Int? = null, @ColorRes var buttonColor: Int? = null, var colorStateList: ColorStateList? = null, var cornersRadius: CornersSize? = null, @DrawableRes var background: Int? = null) : Serializable, ComponentStyle

Описывает стиль для текстовых кнопок

Parameters

chatText

стиль для текста на кнопке

strokeColorResId

цвет контура кнопки

strokeWidthDpResId

ширина контура кнопки

buttonColor

цвет кнопки. Имеет меньший приоритет перед colorStateList

colorStateList

цвета кнопки в соответствии с ее состоянием

cornersRadius

радиус углов для кнопки

background

фоновое изображение для кнопки

Constructors

Link copied to clipboard
constructor(chatText: TextMessageStyle? = null, @ColorRes strokeColorResId: Int? = null, @DimenRes strokeWidthDpResId: Int? = null, @ColorRes buttonColor: Int? = null, colorStateList: ColorStateList? = null, cornersRadius: CornersSize? = null, @DrawableRes background: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var colorStateList: ColorStateList?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard