CloseLiveAnnotationButton

class CloseLiveAnnotationButton @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = androidx.appcompat.R.attr.buttonStyle)

A custom button designed specifically for closing actions, providing a consistent look and feel.

Since

3.11.0

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.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = androidx.appcompat.R.attr.buttonStyle)

Creates a CloseButtonView with default styling and a cross icon.