setCenterOverlapContent

fun <V : View, MessageComposerContent> setCenterOverlapContent(contentView: V, layoutParams: FrameLayout.LayoutParams = FrameLayout.LayoutParams( FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.WRAP_CONTENT, ))

Sets a custom overlapping content view. It must implement the MessageComposerContent interface and should render the currently active action according to the received state. The currently active action is propagated to the contentView in the MessageComposerContent.renderState function.

Parameters

contentView

The View which shows the currently active action.

layoutParams

The layout parameters to set on the content view.

See also