data class MessageComposerViewStyle(@ColorInt val backgroundColor: Int, @ColorInt val buttonIconDrawableTintColor: Int?, val dividerBackgroundDrawable: Drawable, val commandSuggestionsTitleText: String, val commandSuggestionsTitleTextStyle: TextStyle, val commandSuggestionsTitleIconDrawable: Drawable, val commandSuggestionsTitleIconDrawableTintColor: Int?, @ColorInt val commandSuggestionsBackgroundColor: Int, val commandSuggestionItemCommandNameTextStyle: TextStyle, val commandSuggestionItemCommandDescriptionText: String, val commandSuggestionItemCommandDescriptionTextStyle: TextStyle, @ColorInt val mentionSuggestionsBackgroundColor: Int, val mentionSuggestionItemIconDrawable: Drawable, val mentionSuggestionItemIconDrawableTintColor: Int?, val mentionSuggestionItemUsernameTextStyle: TextStyle, val mentionSuggestionItemMentionText: String, val mentionSuggestionItemMentionTextStyle: TextStyle, val messageInputCommandsHandlingEnabled: Boolean, val messageInputMentionsHandlingEnabled: Boolean, val messageInputTextStyle: TextStyle, val messageInputBackgroundDrawable: Drawable, val messageInputCursorDrawable: Drawable?, val messageInputScrollbarEnabled: Boolean, val messageInputScrollbarFadingEnabled: Boolean, val messageInputMaxLines: Int, val messageInputCannotSendHintText: String, val messageInputInputType: Int, val messageInputShowReplyView: Boolean, val messageInputVideoAttachmentIconDrawable: Drawable, @ColorInt val messageInputVideoAttachmentIconDrawableTint: Int?, @ColorInt val messageInputVideoAttachmentIconBackgroundColor: Int?, val messageInputVideoAttachmentIconCornerRadius: Float, val messageInputVideoAttachmentIconElevation: Float, val messageInputVideoAttachmentIconDrawablePaddingTop: Int, val messageInputVideoAttachmentIconDrawablePaddingBottom: Int, val messageInputVideoAttachmentIconDrawablePaddingStart: Int, val messageInputVideoAttachmentIconDrawablePaddingEnd: Int, val audioRecordingHoldToRecordText: String, val audioRecordingHoldToRecordTextStyle: TextStyle, val audioRecordingHoldToRecordBackgroundDrawable: Drawable, @ColorInt val audioRecordingHoldToRecordBackgroundDrawableTint: Int?, val audioRecordingSlideToCancelText: String, val audioRecordingSlideToCancelTextStyle: TextStyle, val audioRecordingSlideToCancelStartDrawable: Drawable, @ColorInt val audioRecordingSlideToCancelStartDrawableTint: Int?, val audioRecordingFloatingButtonIconDrawable: Drawable, @ColorInt val audioRecordingFloatingButtonIconDrawableTint: Int?, val audioRecordingFloatingButtonBackgroundDrawable: Drawable, @ColorInt val audioRecordingFloatingButtonBackgroundDrawableTint: Int?, val audioRecordingFloatingLockIconDrawable: Drawable, @ColorInt val audioRecordingFloatingLockIconDrawableTint: Int?, val audioRecordingFloatingLockedIconDrawable: Drawable, @ColorInt val audioRecordingFloatingLockedIconDrawableTint: Int?, @ColorInt val audioRecordingWaveformColor: Int?, val attachmentsButtonVisible: Boolean, val attachmentsButtonIconDrawable: Drawable, val attachmentsButtonIconTintList: ColorStateList?, @ColorInt val attachmentsButtonRippleColor: Int?, val commandsButtonVisible: Boolean, val commandsButtonIconDrawable: Drawable, val commandsButtonIconTintList: ColorStateList?, @ColorInt val commandsButtonRippleColor: Int?, val alsoSendToChannelCheckboxVisible: Boolean, val alsoSendToChannelCheckboxDrawable: Drawable?, val alsoSendToChannelCheckboxText: String, val alsoSendToChannelCheckboxTextStyle: TextStyle, val editModeText: String, val editModeIconDrawable: Drawable, val replyModeText: String, val replyModeIconDrawable: Drawable, val dismissModeIconDrawable: Drawable, val sendMessageButtonEnabled: Boolean, val sendMessageButtonIconDrawable: Drawable, val sendMessageButtonIconTintList: ColorStateList?, @Px val sendMessageButtonWidth: Int, @Px val sendMessageButtonHeight: Int, @Px val sendMessageButtonPadding: Int, val audioRecordingButtonVisible: Boolean, val audioRecordingButtonEnabled: Boolean, val audioRecordingButtonPreferred: Boolean, val audioRecordingButtonIconDrawable: Drawable, val audioRecordingButtonIconTintList: ColorStateList?, @Px val audioRecordingButtonWidth: Int, @Px val audioRecordingButtonHeight: Int, @Px val audioRecordingButtonPadding: Int, val cooldownTimerTextStyle: TextStyle, val cooldownTimerBackgroundDrawable: Drawable, @ColorInt val messageReplyBackgroundColor: Int, val messageReplyTextStyleMine: TextStyle, @ColorInt val messageReplyMessageBackgroundStrokeColorMine: Int, @Px val messageReplyMessageBackgroundStrokeWidthMine: Float, val messageReplyTextStyleTheirs: TextStyle, @ColorInt val messageReplyMessageBackgroundStrokeColorTheirs: Int, @Px val messageReplyMessageBackgroundStrokeWidthTheirs: Float, val attachmentsPickerDialogStyle: AttachmentsPickerDialogStyle, val audioRecordPlayerViewStyle: AudioRecordPlayerViewStyle?) :
ViewStyle Style for MessageComposerView.
Parameters
The background color of the message composer.
buttonIconDrawableTintColor
The tint applied to attachments, commands and send buttons.
dividerBackgroundDrawable
The background of the divider at the top.
commandSuggestionsTitleText
The text for the title at the top of the command suggestions dialog.
commandSuggestionsTitleTextStyle
The text style for the title at the top of the command suggestions dialog.
commandSuggestionsTitleIconDrawable
The icon for the title at the top of the command suggestions dialog.
commandSuggestionsTitleIconDrawableTintColor
The tint applied to the icon for the title at the top of the command suggestions dialog.
commandSuggestionsBackgroundColor
The background color of the command suggestions dialog.
commandSuggestionItemCommandNameTextStyle
The text style for the command name.
commandSuggestionItemCommandDescriptionText
The command description template with two placeholders.
commandSuggestionItemCommandDescriptionTextStyle
The text style for the command description.
mentionSuggestionsBackgroundColor
The background color of the mention suggestions dialog.
mentionSuggestionItemIconDrawable
The icon for each command icon in the suggestion list.
mentionSuggestionItemIconDrawableTintColor
The tint applied to the icon for each command icon in the suggestion list.
mentionSuggestionItemUsernameTextStyle
The text style that will be used for the user name.
mentionSuggestionItemMentionText
The mention template that will be used for the mention preview.
mentionSuggestionItemMentionTextStyle
The text style that will be used for the mention preview.
messageInputCommandsHandlingEnabled
If command suggestions are shown based on user input.
messageInputMentionsHandlingEnabled
If mention suggestions are shown based on user input.
The text style of the text input field.
messageInputBackgroundDrawable
The background drawable of the text input field.
messageInputCursorDrawable
The drawable for the cursor in the text input field.
messageInputScrollbarEnabled
If the vertical scrollbar should be drawn or not.
messageInputScrollbarFadingEnabled
If the vertical edges should be faded on scroll or not.
The maximum number of message input lines.
messageInputCannotSendHintText
The input hint text in case we can't send messages in this channel.
The InputType to be applied to the message input edit text.
messageInputShowReplyView
Whether to show the default reply view inside the message input or not.
messageInputVideoAttachmentIconDrawable
Overlays a drawable above video attachments. By default, used to display a play button.
messageInputVideoAttachmentIconDrawableTint
Sets the tint of the drawable overlaid above video attachments.
messageInputVideoAttachmentIconBackgroundColor
Sets the background color of the icon overlaid above video attachments.
messageInputVideoAttachmentIconCornerRadius
Sets the corner radius of the parent card containing the video attachment icon.
messageInputVideoAttachmentIconElevation
Sets the elevation of the icon overlaid above video attachments.
messageInputVideoAttachmentIconDrawablePaddingTop
Sets the top padding between the video attachment drawable and its parent card.
messageInputVideoAttachmentIconDrawablePaddingBottom
Sets the bottom padding between the video attachment drawable and its parent card.
messageInputVideoAttachmentIconDrawablePaddingStart
Sets the start padding between the video attachment drawable and its parent card.
messageInputVideoAttachmentIconDrawablePaddingEnd
Sets the end padding between the video attachment drawable and its parent card.
audioRecordingButtonVisible
If the button to record audio is displayed.
audioRecordingButtonEnabled
If the button to record audio is enabled.
audioRecordingButtonPreferred
If the button to record audio is displayed over send button while input is empty.
audioRecordingButtonIconDrawable
The icon for the button to record audio.
audioRecordingButtonIconTintList
The tint list for the button to record audio.
audioRecordingButtonWidth
The width of the button to record audio.
audioRecordingButtonHeight
The height of the button to record audio.
audioRecordingButtonPadding
The padding of the button to record audio.
audioRecordingHoldToRecordText
The info text that will be shown if touch event on audio button was too short.
audioRecordingHoldToRecordTextStyle
The text style that will be used for the "hold to record" text.
audioRecordingHoldToRecordBackgroundDrawable
The drawable will be used as a background for the "hold to record" text.
audioRecordingHoldToRecordBackgroundDrawableTint
The tint color will be used for background drawable of the "hold to record" text.
audioRecordingSlideToCancelText
The info text that will be shown while holding mic button.
audioRecordingSlideToCancelTextStyle
The text style that will be used for the "slide to cancel" text.
audioRecordingSlideToCancelStartDrawable
The icon that will be displayed in front of the "slide to cancel" text.
audioRecordingSlideToCancelStartDrawableTint
The tint color that will be used for the icon in front of the "slide to cancel" text.
audioRecordingFloatingButtonIconDrawable
The icon that will be displayed in inside the floating draggable button while recording.
audioRecordingFloatingButtonIconDrawableTint
The tint color that will be used for the the mic icon inside the floating draggable button.
audioRecordingFloatingButtonBackgroundDrawable
The background drawable that will be applied to the floating draggable button while recording.
audioRecordingFloatingButtonBackgroundDrawableTint
The tint color that will be used for the background drawable in the floating draggable button.
audioRecordingFloatingLockIconDrawable
The floating icon that will be displayed above floating button while unlocked.
audioRecordingFloatingLockIconDrawableTint
The tint color that will be used for the the lock icon.
audioRecordingFloatingLockedIconDrawable
The floating icon that will be displayed above recording view when locked.
audioRecordingFloatingLockedIconDrawableTint
The tint color that will be used for the the locked icon.
audioRecordingWaveformColor
The color of the waveform.
If the button to pick attachments is displayed.
attachmentsButtonIconDrawable
The icon for the attachments button.
attachmentsButtonIconTintList
The tint list for the attachments button.
attachmentsButtonRippleColor
Ripple color of the attachments button.
If the button to select commands is displayed.
commandsButtonIconDrawable
The icon for the commands button.
commandsButtonIconTintList
The tint list for the commands button.
commandsButtonRippleColor
Ripple color of the commands button.
alsoSendToChannelCheckboxVisible
If the checkbox to send a message to the channel is displayed.
alsoSendToChannelCheckboxDrawable
The drawable that will be used for the checkbox.
alsoSendToChannelCheckboxText
The text that will be displayed next to the checkbox.
alsoSendToChannelCheckboxTextStyle
The text style that will be used for the checkbox text.
The text for edit mode title.
The icon displayed in top left corner when the user edits a message.
The text for reply mode title.
The icon displayed in top left corner when the user replies to a message.
The icon for the button that dismisses edit or reply mode.
If the button to send message is enabled.
sendMessageButtonIconDrawable
The icon for the button to send message.
sendMessageButtonIconTintList
The tint list for the button to send message.
The text style that will be used for cooldown timer.
cooldownTimerBackgroundDrawable
Background drawable for cooldown timer.
messageReplyBackgroundColor
Sets the background color of the quoted message bubble visible in the composer when replying to a message.
messageReplyTextStyleMine
Sets the style of the text inside the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by the current user.
messageReplyMessageBackgroundStrokeColorMine
Sets the color of the stroke of the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by the current user.
messageReplyMessageBackgroundStrokeWidthMine
Sets the width of the stroke of the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by the current user.
messageReplyTextStyleTheirs
Sets the style of the text inside the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by users other than the currently logged in one.
messageReplyMessageBackgroundStrokeColorTheirs
Sets the color of the stroke of the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by users other than the currently logged in one.
messageReplyMessageBackgroundStrokeWidthTheirs
Sets the width of the stroke of the quoted message bubble visible in the composer when replying to a message. Applied to messages sent by users other than the currently logged in one.