createFromAttributes

open fun createFromAttributes(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int): ChipDrawable

Returns a ChipDrawable from the given attributes.