Package-level declarations
Types
Link copied to clipboard
class DrawableCompat
Helper for accessing features in android.graphics.drawable.Drawable.
Link copied to clipboard
Helper for accessing features in android.graphics.drawable.Icon.
Link copied to clipboard
A Drawable that wraps a bitmap and can be drawn with rounded corners.
Link copied to clipboard
Constructs RoundedBitmapDrawable objects, either from Bitmaps directly, or from streams and files.
Link copied to clipboard
Interface which allows a android.graphics.drawable.Drawable to receive tinting calls from
DrawableCompat.Link copied to clipboard
Interface which allows a android.graphics.drawable.Drawable to get/set wrapped drawables from
DrawableCompat.Functions
Link copied to clipboard
Link copied to clipboard
fun Drawable.toBitmapOrNull(@Px width: Int = intrinsicWidth, @Px height: Int = intrinsicHeight, config: Bitmap.Config? = null): Bitmap?
Link copied to clipboard
Create a ColorDrawable from this Color (via Color.toArgb).
Create a ColorDrawable from this color value.
Create a BitmapDrawable from this Bitmap.
Link copied to clipboard