TtSwitch

fun TtSwitch(context: Context, attrs: AttributeSet?, defStyleAttr: Int = R.attr.tt_switch_style)

Parameters

context

The display context.

attrs

The attribute set provided in the layout XML file.