DrawableCompat
Helper for accessing features in android.graphics.drawable.Drawable.
Functions
Link copied to clipboard
Applies the specified theme to this Drawable and its children.
Link copied to clipboard
Whether a theme can be applied to this Drawable and its children.
Link copied to clipboard
Removes the color filter from the given drawable.
Link copied to clipboard
Returns the current color filter, or
null
if none set.Link copied to clipboard
Returns the resolved layout direction for this Drawable.
Link copied to clipboard
open fun inflate(@NonNull drawable: Drawable, @NonNull res: Resources, @NonNull parser: XmlPullParser, @NonNull attrs: AttributeSet, @Nullable theme: Resources.Theme)
Inflate this Drawable from an XML resource optionally styled by a theme.
Link copied to clipboard
Tells if this Drawable will be automatically mirrored when its layout direction is RTL right-to-left.
Link copied to clipboard
Link copied to clipboard
Set whether this Drawable is automatically mirrored when its layout direction is RTL (right-to left).
Link copied to clipboard
Specifies the hotspot's location within the drawable.
Link copied to clipboard
Link copied to clipboard
Set the layout direction for this drawable.
Link copied to clipboard
Specifies a tint for
drawable
as a color state list.Link copied to clipboard
Specifies a tint blending mode for
drawable
.