Spacer

amx:spacer

The Spacer component is a layout component that creates an area of blank space on a page. The spacer helps to space out the components on the page, so the page appears less cluttered than it would if all the components were presented immediately next to each other, or immediately below each other. You can include either or both vertical and horizontal space in a page using the height and width attributes.

This component is commonly used on tablets and phones.

Appearance

Appearance characteristics for this component.

Using the height and width attributes of the spacer, you can create an area of blank space that forms:

Behavior

Common behaviors for this component.

Usage

Usage guidelines for this component.

Sample

AMX sample code for this component.

<amx:spacer id="s1" height="48" width="48"/>

Related

Fig 1. iOS Spacer

 

Fig 2. Android Spacer