Switch

constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.sd_switchStyle, defStyleRes: Int = R.style.Sdds_Components_Switch)

Parameters

context

контекст

attrs

аттрибуты view

defStyleAttr

аттрибут стиля по умолчанию