library / com.otaliastudios.zoom / Alignment

Alignment

object Alignment

Holds constants for ZoomApi.setAlignment.

Properties

BOTTOM

Aligns the bottom side of the content to the bottom side of the container.

const val BOTTOM: Int

CENTER

Shorthand for CENTER_HORIZONTAL and CENTER_VERTICAL together.

const val CENTER: Int

CENTER_HORIZONTAL

Centers the content horizontally inside the container.

const val CENTER_HORIZONTAL: Int

CENTER_VERTICAL

Centers the content vertically inside the container.

const val CENTER_VERTICAL: Int

LEFT

Aligns left side of the content to the left side of the container.

const val LEFT: Int

NONE

Shorthand for NONE_HORIZONTAL and NONE_VERTICAL together.

const val NONE: Int

NONE_HORIZONTAL

No forced alignment on the horizontal axis.

const val NONE_HORIZONTAL: Int

NONE_VERTICAL

No forced alignment on the vertical axis.

const val NONE_VERTICAL: Int

RIGHT

Aligns right side of the content to the right side of the container.

const val RIGHT: Int

TOP

Aligns top side of the content to the top side of the container.

const val TOP: Int