setButtonType

fun setButtonType(type: Int)

Set the button type.

Parameters

color

The new type to set in the button.