Package 

Class SplitResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Orientation gapOrientation
      private final Rect gapBounds
    • Constructor Summary

      Constructors 
      Constructor Description
      SplitResult(Orientation gapOrientation, Rect gapBounds)
    • Method Summary

      Modifier and Type Method Description
      final Orientation getGapOrientation() Whether the gap is vertical or horizontal
      final Rect getGapBounds() The bounds that are nether a start pane or an end pane, but a separation between those two.
      • Methods inherited from class java.lang.Object

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

      • SplitResult

        SplitResult(Orientation gapOrientation, Rect gapBounds)
    • Method Detail

      • getGapOrientation

         final Orientation getGapOrientation()

        Whether the gap is vertical or horizontal

      • getGapBounds

         final Rect getGapBounds()

        The bounds that are nether a start pane or an end pane, but a separation between those two. In case width or height is 0 - it means that the gap itself is a 0 width/height, but the place within the layout is still defined.

        The gapBounds should be defined in local bounds to the TwoPane.