Package com.tomtom.tools.android.api.resourceresolution.drawable
Types
A DrawableResolver that resolves a Drawable from a theme based on attrId.
A DrawableResolver that creates a Drawable from a Bitmap and target density based on the display metrics of the Context.
A DrawableResolver that retrieves a color array from a theme using gradientColorArrayAttrId and creates a GradientDrawable from it. The gradient will have a linear shape with the given orientation.
An interface for classes that resolve a Drawable based on a Context. This is useful to separate business logic from presentation, where a service or ViewModel can refer to a resource or other types of data that depend on the Locale or display without needing a Context to resolve its value.
A DrawableResolver that retrieves a Drawable from an Icon.
A DrawableResolver that creates a Drawable from a list of DrawableResolvers by layering them.
A DrawableResolver that resolves a Drawable from a Context.