Heya, with Nav3, when I scale out a screen as the ...
# compose
k
Heya, with Nav3, when I scale out a screen as the exit transition, a white background appears around the edges of the disappearing screen. I can't find a handle to change the color. I thought it might be the background of the NavDisplay or higher the hierarchy but no luck
i
On Android, everything in your app is on top of the
windoeBackground
(defined by the theme on your activity). If all of your content is semi-transparent (e.g., crossfading) or not covering that window background, you will see that background color
k
Even if I put NavDisplay inside a box with solid color, it doesn't work 🤔
nvm, I put
MaterialTheme.colorScheme.surfaceContainer
into a variable, which I defined outside of the
MaterialTheme
scope and then used that one as the bg 🤦‍♂️...