-
public final class SplitResultReturns the specification for where to place a split in TwoPane as a result of TwoPaneStrategy.calculateSplitResult
-
-
Field Summary
Fields Modifier and Type Field Description private final OrientationgapOrientationprivate final RectgapBounds
-
Constructor Summary
Constructors Constructor Description SplitResult(Orientation gapOrientation, Rect gapBounds)
-
Method Summary
Modifier and Type Method Description final OrientationgetGapOrientation()Whether the gap is vertical or horizontal final RectgetGapBounds()The bounds that are nether a startpane or anendpane, but a separation between those two.-
-
Method Detail
-
getGapOrientation
final Orientation getGapOrientation()
Whether the gap is vertical or horizontal
-
getGapBounds
final Rect getGapBounds()
The bounds that are nether a
startpane or anendpane, 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.
-
-
-
-