Java android.graphics.drawable InsetDrawable fields, constructors, methods, implement or subclass

Example usage for Java android.graphics.drawable InsetDrawable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics.drawable InsetDrawable.

The text is from its open source code.

Constructor

InsetDrawable(@Nullable Drawable drawable, int insetLeft, int insetTop, int insetRight, int insetBottom)
Creates a new inset drawable with the specified insets in pixels.
InsetDrawable(@Nullable Drawable drawable, float insetLeftFraction, float insetTopFraction, float insetRightFraction, float insetBottomFraction)
Creates a new inset drawable with the specified insets in fraction of the view bounds.
InsetDrawable(@Nullable Drawable drawable, int inset)
Creates a new inset drawable with the specified inset.
InsetDrawable(@Nullable Drawable drawable, float inset)
Creates a new inset drawable with the specified inset.
InsetDrawable(@NonNull InsetState state, @Nullable Resources res)
The one constructor to rule them all.

Method