Skip to content

Horizontal Scroll Arrangement

Category Requires Version
Layout > General API 19, Android 4.4 - 4.4.4 KitKat 7

Overview

A formatting element in which to place components that should be displayed from left to right. If you wish to have components displayed one over another, use VerticalArrangement instead.

This version is scrollable.

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: January 27, 2020