setUseMaterialThemeColors

open fun setUseMaterialThemeColors(useMaterialThemeColors: Boolean)

Forces the SwitchMaterial to use colors from a Material Theme. Overrides any specified tint list for the track and thumb. If set to false, sets the tints to null. Use setTrackTintList and setThumbTintList to change tints.