obtain
abstract fun obtain(context: Context, attrs: AttributeSet?, defStyleAttr: Int = 0, defStyleRes: Int = 0): ColorState?
Достает ColorState из атрибутов attrs.
Return
Parameters
context
контекст
attrs
атрибуты View
def Style Attr
атрибут стиля по умолчанию
def Style Res
стиль по умолчанию