public class DrawableUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Rect |
INSETS_NONE |
Modifier and Type | Method and Description |
---|---|
static boolean |
canSafelyMutateDrawable(Drawable drawable)
Some drawable implementations have problems with mutation.
|
static Rect |
getOpticalBounds(Drawable drawable)
Allows us to get the optical insets for a
Drawable . |
public static final Rect INSETS_NONE