inflate
open fun inflate(@NonNull drawable: Drawable, @NonNull res: Resources, @NonNull parser: XmlPullParser, @NonNull attrs: AttributeSet, @Nullable theme: Resources.Theme)(source)
Inflate this Drawable from an XML resource optionally styled by a theme.
Parameters
drawable
drawable to inflate.
res
Resources used to resolve attribute values
parser
XML parser from which to inflate this Drawable
attrs
Base set of attribute values
theme
Theme to apply, may be null