createView

abstract fun createView(@Nullable parent: @Nullable View, name: String, @NonNull context: @NonNull Context, @NonNull attrs: @NonNull AttributeSet): View(source)

This should be called from a LayoutInflater.Factory2 in order to return tint-aware widgets.

This is only needed if you are using your own LayoutInflater factory, and have therefore not installed the default factory via installViewFactory.