Package com.google.accompanist.adaptive
Types
FoldAwareConfiguration
Link copied to clipboard
SplitResult
Link copied to clipboard
Returns the specification for where to place a split in TwoPane as a result of TwoPaneStrategy.calculateSplitResult
TwoPaneStrategy
Link copied to clipboard
fun fun interface TwoPaneStrategy
Content copied to clipboard
A strategy for configuring the TwoPane component, that is responsible for the meta-data corresponding to the arrangement of the two panes of the layout.
Functions
calculateDisplayFeatures
Link copied to clipboard
@Composable()
Content copied to clipboard
HorizontalTwoPaneStrategy
Link copied to clipboard
fun HorizontalTwoPaneStrategy(splitFraction: Float, gapWidth: Dp = 0.dp): TwoPaneStrategy
Content copied to clipboard
Returns a TwoPaneStrategy that will place the slots horizontally.
fun HorizontalTwoPaneStrategy(splitOffset: Dp, offsetFromStart: Boolean = true, gapWidth: Dp = 0.dp): TwoPaneStrategy
Content copied to clipboard
Returns a TwoPaneStrategy that will place the slots horizontally.
TwoPane
Link copied to clipboard
@Composable()
Content copied to clipboard
A layout that places two different pieces of content defined by the first and second slots where the arrangement, sizes and separation behaviour is controlled by TwoPaneStrategy.
VerticalTwoPaneStrategy
Link copied to clipboard
fun VerticalTwoPaneStrategy(splitFraction: Float, gapHeight: Dp = 0.dp): TwoPaneStrategy
Content copied to clipboard
Returns a TwoPaneStrategy that will place the slots horizontally.
fun VerticalTwoPaneStrategy(splitOffset: Dp, offsetFromTop: Boolean = true, gapHeight: Dp = 0.dp): TwoPaneStrategy
Content copied to clipboard
Returns a TwoPaneStrategy that will place the slots horizontally.