ChatViewThemeAttributes

ChatViewThemeAttributes

class ChatViewThemeAttributes

Fields

Name Description
var showMessageDateTime: Boolean
var chatBubblePaddingLeft: Int
var chatBubblePaddingRight: Int
var chatBubblePaddingTop: Int
var chatBubblePaddingBottom: Int
var chatSendPaddingLeft: Int
var chatSendPaddingRight: Int
var chatSendPaddingTop: Int
var chatSendPaddingBottom: Int
var chatMarginLeft: Int
var chatMarginRight: Int
var chatMarginTop: Int
var chatMarginBottom: Int
var chatBubbleMarginLeft: Int
var chatBubbleMarginRight: Int
var chatBubbleMarginTop: Int
var chatBubbleMarginBottom: Int
var chatBubbleWidth: Int
var chatBackgroundWidth: Int
var sendIconWidth: Int
var sendIconHeight: Int
var chatInputTextSize: Int
var chatBubbleBackgroundRes: Int?
var chatBackgroundRes: Int?
var chatViewBackgroundRes: Drawable?
var chatInputBackgroundRes: Drawable?
var chatInputViewBackgroundRes: Drawable?
var chatDisplayBackgroundRes: Drawable?
var chatSendDrawable: Drawable?
var chatStickerSendDrawable: Drawable?
var chatUserPicDrawable: Drawable?
var chatSendBackgroundDrawable: Drawable?
var chatMessageColor: Int
var sendImageTintColor: Int
var sendStickerTintColor: Int
var rankValueTextColor: Int
var chatInputTextColor: Int
var chatInputHintTextColor: Int
var chatOtherNickNameColor: Int
var chatNickNameColor: Int
var chatReactionBackgroundRes: Drawable?
var chatReactionMessageBubbleHighlightedBackground: Int?
var chatReactionMessageBackHighlightedBackground: Int?
var chatReactionPanelColor: Int
var chatReactionPanelCountColor: Int
var chatReactionDisplayCountColor: Int
var chatReactionFlagTintColor: Int
var chatReactionX: Int
var chatReactionY: Int
var chatReactionElevation: Float
var chatReactionRadius: Float
var chatSelectedReactionRadius: Float
var chatReactionPadding: Int
var chatAvatarMarginRight: Int
var chatAvatarMarginBottom: Int
var chatAvatarMarginLeft: Int
var chatAvatarMarginTop: Int
var chatAvatarRadius: Int
var chatAvatarCircle: Boolean
var showStickerSend: Boolean
var chatAvatarWidth: Int
var chatAvatarHeight: Int
var chatAvatarGravity: Int
var stickerBackground: Drawable?
var stickerTabBackground: Drawable?
var stickerSelectedTabIndicatorColor: Int
var stickerRecentEmptyTextColor: Int
var chatMessageTopBorderColor: Int
var chatMessageBottomBorderColor: Int
var chatMessageTopBorderHeight: Int
var chatMessageBottomBorderHeight: Int
var chatReactionHintEnable: Boolean
var chatReactionHintIcon: Int

Constructors

Name Description
constructor()

Methods

initAttributes

fun initAttributes(context: Context, typedArray: TypedArray?)

Parameters

Name Description
context: Context
typedArray: TypedArray?

ReturnValue

Name Description
Unit