LayoutElementBuilders.Spacer
class LayoutElementBuilders.Spacer : LayoutElementBuilders.LayoutElement
A simple spacer, typically used to provide padding between adjacent elements.
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
DimensionBuilders.SpacerDimension? |
Gets the height of this spacer. |
ModifiersBuilders.Modifiers? |
Gets |
DimensionBuilders.SpacerDimension? |
Gets the width of this |
Public functions
fungetHeight(): DimensionBuilders.SpacerDimension?
Gets the height of this spacer. If not defined, defaults to 0. Intended for testing purposes only.
fungetModifiers(): ModifiersBuilders.Modifiers?
Gets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.
fungetWidth(): DimensionBuilders.SpacerDimension?
Gets the width of this Spacer. When this is added as the direct child of an Arc, this must be specified as an angular dimension, otherwise a linear dimension must be used. If not defined, defaults to 0. Intended for testing purposes only.