div-edge-insets

It sets margins.

Parameters

Parameters Description
bottom

int

Bottom margin.

Restriction for the value x: x >= 0.

Default value: 0.

end

int

End margin. Margin position depends on the interface orientation. Has higher priority than the left and right margins.

Restriction for the value x: x >= 0.

left

int

Left margin.

Restriction for the value x: x >= 0.

Default value: 0.

right

int

Right margin.

Restriction for the value x: x >= 0.

Default value: 0.

start

int

Start margin. Margin position depends on the interface orientation. Has higher priority than the left and right margins.

Restriction for the value x: x >= 0.

top

int

Top margin.

Restriction for the value x: x >= 0.

Default value: 0.

unit

string

Possible values: dp, sp, px.

Default value: dp.

Available platforms: Android, iOS.

JSON
{
  bottom: "int",
  end: "int",
  left: "int",
  right: "int",
  start: "int",
  top: "int",
  unit: "string"
}