Fixed
Status Update
Comments
co...@google.com <co...@google.com>
am...@gmail.com <am...@gmail.com> #2
It would also be nice to be able to set different maxLines
for the large and small titles. For example, setting maxLines = 2
for the large title and maxLines = 1
for the small title.
This functionality is something that would also be possible with TwoRowsTopAppBar
being publicly exposed.
le...@google.com <le...@google.com>
le...@google.com <le...@google.com>
le...@google.com <le...@google.com>
na...@google.com <na...@google.com> #3
@Nick - Having the app bar adjust to its content height is quite tricky here, mainly when there are other constraints that involve the scroll behavior.
What we did at maxLines
will still be applied to the Text
, however, the height set up is going to be done programmatically on the top app bar you chose.
Description
Jetpack Compose M3 Adaptive Navigation Suite: 1.0.0-alpha05 Kotlin version: 1.9.22
Currently, to hide the navigation bar/rail, we have to either:
layoutType
toNavigationSuiteType.NONE
navigationSuite
content in anAnimatedVisiblity
composable.First option leads to this which has a jarring effect.
Second is also similar . Just that the container hides after the animation completes.
Ideally there should be a way to hide the navigation bar/rail with proper animation.