CloseLiveAnnotationButton

fun CloseLiveAnnotationButton(    context: <Error class: unknown class>,     attrs: <Error class: unknown class>? = null,     defStyleAttr: Int = androidx.appcompat.R.attr.buttonStyle)

Creates a CloseButtonView with default styling and a cross icon.

Parameters

context

The Context in which the view is created.

attrs

The AttributeSet containing any custom attributes for the view.

defStyleAttr

The default style attribute to apply to the view.