AgoraButton

fun AgoraButton(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Creates a new button.

Parameters

context

the context for the application.

attrs

the attribute set for the button.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults values for the StyledAttributes. Can be 0 to not look for defaults.