Skip to content

Vertical Arrangement

Category Requires Version
Layout > General API 21, Android 5.0 Lollipop 10

Overview

A formatting element in which to place components that should be displayed one below another. (The first child component is stored on top, the second beneath it, etc.) If you wish to have components displayed next to one another, use HorizontalArrangement instead.

Events

Click

Click listener event.

Long Click

Long click listener event.

Properties

Align Horizontal

Number Default: 1 ➖ Read Write - Designer Blocks

A number that encodes how contents of the arrangement are aligned horizontally. The choices are: 1 = left aligned, 2 = right aligned, 3 = horizontally centered. Alignment has no effect if the arrangement's width is automatic.

Align Vertical

Number Default: 1 ➖ Read Write - Designer Blocks

A number that encodes how the contents of the arrangement are aligned vertically. The choices are: 1 = aligned at the top, 2 = vertically centered, 3 = aligned at the bottom. Alignment has no effect if the arrangement's height is automatic.

Background Color

Color Default: #00000000  ➖ Read Write - Designer Blocks

Returns the component's background color

Clickable

Boolean Default: False ➖ Read Write - Designer Blocks

Set the component clickable or not clickable.

Height

Number ➖ Read Write - Blocks

Specifies the component's vertical height, measured in pixels.

Height Percent

Number ➖ Write - Blocks

Specifies the component's vertical height as a percentageof the height of its parent Component.

Image

Text ➖ Read Write - Designer Blocks

Returns the path of the button's image.

Is Card

Boolean Default: False ➖ Read Write - Designer Blocks

If enabled the arrangement will be convert to a card view. You can detect clicks on it with the "Click" event.

Scrollbar

Boolean Default: True ➖ Read Write - Designer Blocks

Whether to display a scrollbar

Use Round Card

Boolean Default: False ➖ Read Write - Designer Blocks

If enabled the card layout will have then round corners.

Visible

Boolean Default: True ➖ Read Write - Designer Blocks

Returns true iff the component is visible.

Width

Number ➖ Read Write - Blocks

Specifies the component's horizontal width, measured in pixels.

Width Percent

Number ➖ Write - Blocks

Specifies the component's horizontal width as a percentageof the Width of its parent Component.


Last update: November 9, 2022