createWithResource
Create an Icon pointing to a drawable resource.
Parameters
context
The context for the application whose resources should be used to resolve the given resource ID.
resId
ID of the drawable resource
See also
open fun createWithResource(@Nullable r: Resources, @NonNull pkg: String, @DrawableRes resId: Int): IconCompat(source)