setTrailingContent
fun <V : View, CallAppBarContent> setTrailingContent(contentView: V, layoutParams: FrameLayout.LayoutParams = FrameLayout.LayoutParams(
FrameLayout.LayoutParams.WRAP_CONTENT,
FrameLayout.LayoutParams.WRAP_CONTENT,
Gravity.START,
))
Sets custom center content view. It must implement CallAppBarContent interface. The current mode is propagated to the contentView in the CallAppBarView.renderState function.
Parameters
contentView
The View showing the trailing content.
layoutParams
The layout parameters to set on the content view.
See also
DefaultCallAppBarTrailingContent