Class UIStackViewAlignment


  • public final class UIStackViewAlignment
    extends java.lang.Object
    Alignment—the layout transverse to the stacking axis.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Bottom
      Align the trailing edges of vertically stacked items or the bottom edges of horizontally stacked items tightly to the relevant edge of the container
      static long Center
      Center the items in a vertical stack horizontally or the items in a horizontal stack vertically
      static long Fill
      Align the leading and trailing edges of vertically stacked items or the top and bottom edges of horizontally stacked items tightly to the container.
      static long FirstBaseline
      Valid for horizontal axis only
      static long LastBaseline
      Valid for horizontal axis only
      static long Leading
      Align the leading edges of vertically stacked items or the top edges of horizontally stacked items tightly to the relevant edge of the container
      static long Top
      Align the leading edges of vertically stacked items or the top edges of horizontally stacked items tightly to the relevant edge of the container
      static long Trailing
      Align the trailing edges of vertically stacked items or the bottom edges of horizontally stacked items tightly to the relevant edge of the container
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Fill

        public static final long Fill
        Align the leading and trailing edges of vertically stacked items or the top and bottom edges of horizontally stacked items tightly to the container.
        See Also:
        Constant Field Values
      • Leading

        public static final long Leading
        Align the leading edges of vertically stacked items or the top edges of horizontally stacked items tightly to the relevant edge of the container
        See Also:
        Constant Field Values
      • Top

        public static final long Top
        Align the leading edges of vertically stacked items or the top edges of horizontally stacked items tightly to the relevant edge of the container
        See Also:
        Constant Field Values
      • FirstBaseline

        public static final long FirstBaseline
        Valid for horizontal axis only
        See Also:
        Constant Field Values
      • Center

        public static final long Center
        Center the items in a vertical stack horizontally or the items in a horizontal stack vertically
        See Also:
        Constant Field Values
      • Trailing

        public static final long Trailing
        Align the trailing edges of vertically stacked items or the bottom edges of horizontally stacked items tightly to the relevant edge of the container
        See Also:
        Constant Field Values
      • Bottom

        public static final long Bottom
        Align the trailing edges of vertically stacked items or the bottom edges of horizontally stacked items tightly to the relevant edge of the container
        See Also:
        Constant Field Values
      • LastBaseline

        public static final long LastBaseline
        Valid for horizontal axis only
        See Also:
        Constant Field Values