Assigned
Status Update
Comments
ku...@googlemail.com <ku...@googlemail.com> #2
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
ku...@googlemail.com <ku...@googlemail.com> #3
Hi Max, yes when the modifiers are moved to the composable inside the AnimatedPane, the PB animations are better than when the modifiers are in the AnimatedPane itself
Description
Currently,
NavigationSuiteScaffoldDefaults.calculateFromAdaptiveInfo()
returnsNavigationSuiteType.NavigationBar
for most smartphones in landscape mode, because whilewindowPosture.isTabletop
isfalse
,windowSizeClass.windowHeightSizeClass == WindowHeightSizeClass.COMPACT
is usuallytrue
.The navigation bar consumes a lot of valuable screen real estate, where as a navigation rail would require much less. See screenshots for comparison.
Currently apps can do something like this:
However, I suggest updating the decision logic in
calculateFromAdaptiveInfo()
as shown above.