Text Message Style
open class TextMessageStyle(var text: ChatTextStyle? = null, @ColorRes var backgroundColor: Int? = null, @DrawableRes var backgroundImage: Int? = null, var font: ChatFontStyle? = null, @ColorRes var textColor: Int? = null, @ColorRes var linkTextColor: Int? = null, var paddings: SideSize? = null, @StringRes var networkErrorText: Int = R.string.ecc_chat_not_available) : Serializable, ComponentStyle
Описывает стиль для текстовых сообщений в чате
Parameters
text
общий стиль для текста
background Color
фоновый цвет (ресурс)
background Image
фоновое изображение (ресурс)
font
тип и размер шрифта
text Color
цвет текста (ресурс)
link Text Color
цвет ссылок (ресурс)
paddings
внутренние отступы для элемента
network Error Text
текст, описывающий ошибку при получении ответа от сервера (ресурс)
Inheritors
Constructors
Link copied to clipboard
constructor(text: ChatTextStyle? = null, @ColorRes backgroundColor: Int? = null, @DrawableRes backgroundImage: Int? = null, font: ChatFontStyle? = null, @ColorRes textColor: Int? = null, @ColorRes linkTextColor: Int? = null, paddings: SideSize? = null, @StringRes networkErrorText: Int = R.string.ecc_chat_not_available)