public final class UIStackViewAlignment extends Object
Modifier and Type | Field and Description |
---|---|
static int |
Bottom
The views of a horizontal stack view are placed so that the bottom edge
of each one aligns with the bottom edge of the stack view.
|
static int |
Center
The views are placed so that the center of each one is aligned to stack
view axis.
|
static int |
Fill
The views are enlarged so that they fill the available space
perpendicular to the stack view's axis.
|
static int |
FirstBaseline
The views of a horizontal stack view are placed so that all the first
baselines of all the views are aligned.
|
static int |
LastBaseline
The views of a horizontal stack view are placed so that all the last
baselines of all the views are aligned.
|
static int |
Leading
The views of a vertical stack view are placed so that the leading edge of
each one aligns with the leading edge of the stack view.
|
static int |
Top
The views of a horizontal stack view are placed so that the top edge of
each one aligns with the top edge of the stack view.
|
static int |
Trailing
The views of a vertical stack view are placed so that the trailing edge
of each one is aligned to the trailing edge of the stack view.
|
public static final int Fill
public static final int Leading
public static final int Top
public static final int FirstBaseline
public static final int Center
public static final int Trailing
public static final int Bottom
public static final int LastBaseline
Copyright © 2020. All rights reserved.