2023-08-22 14:41:01 +02:00
|
|
|
package android.graphics.drawable;
|
|
|
|
|
|
2023-11-08 21:40:39 +01:00
|
|
|
import android.graphics.Rect;
|
2024-11-19 18:00:38 +01:00
|
|
|
import android.graphics.drawable.DrawableWrapper;
|
2023-08-22 14:41:01 +02:00
|
|
|
|
2024-11-19 18:00:38 +01:00
|
|
|
public class InsetDrawable extends DrawableWrapper {
|
2024-08-25 11:20:01 +02:00
|
|
|
|
2023-08-22 14:41:01 +02:00
|
|
|
public InsetDrawable(Drawable drawable, int insetLeft, int insetTop, int insetRight, int insetBottom) {
|
2024-11-19 18:00:38 +01:00
|
|
|
super(drawable);
|
2023-08-22 14:41:01 +02:00
|
|
|
}
|
|
|
|
|
|
2024-06-15 22:32:01 +02:00
|
|
|
public InsetDrawable(Drawable drawable, int inset) {
|
2024-11-19 18:00:38 +01:00
|
|
|
super(drawable);
|
2024-06-15 22:32:01 +02:00
|
|
|
}
|
|
|
|
|
|
2023-11-08 21:40:39 +01:00
|
|
|
public boolean getPadding(Rect padding) { return false; }
|
2023-08-22 14:41:01 +02:00
|
|
|
}
|