BoxInsetLayout.LayoutParams

public class BoxInsetLayout.LayoutParams


Per-child layout information for layouts that support margins, gravity and boxedEdges. See BoxInsetLayout Layout Attributes for a list of all child view attributes that this class supports. layout_boxedEdges

Summary

Constants

static final int

The view will force an inset on all of the edges of the children.

static final int

The view will force an inset on the bottom edge of the children.

static final int

The view will force an inset on the left edge of the children.

static final int

Default boxing setting.

static final int

The view will force an inset on the right edge of the children.

static final int

The view will force an inset on the top edge of the children.

Public fields

int

Specifies the screen-specific insets for each of the child edges.

Public constructors

Copy constructor.

Copy constructor.

Copy constructor.

Copy constructor.

Creates a new set of layout parameters.

LayoutParams(int width, int height)

Creates a new set of layout parameters with the specified width and height.

LayoutParams(int width, int height, int gravity)

Creates a new set of layout parameters with the specified width, height and gravity.

LayoutParams(
    int width,
    int height,
    int gravity,
    @BoxInsetLayout.LayoutParams.BoxedEdges int boxed
)

Inherited methods

From class ViewGroup.MarginLayoutParams