https://kotlinlang.org logo
a

Ali Zargar Shabestari

09/07/2020, 8:08 PM
I’m not sure is I’m doing something wrong, but in my app the content in
scaffold
is drawn behind the
bottomBar
. is this the expected behaviour? The content:
Copy code
Text(modifier = Modifier.verticalScroll(rememberScrollState()),text = <a Long content>)
m

manueldidonna

09/07/2020, 8:11 PM
Check the Scaffold content lambda signature. It passes an
InnerPadding
instance
👍 1
a

Ali Zargar Shabestari

09/07/2020, 8:17 PM
Thank you! However I can’t come up with a use-case where drawing behind the bottomBar would be expected. Am I missing something here?
z

Zach Klippenstein (he/him) [MOD]

09/07/2020, 9:00 PM
If the bottom bar is translucent
👍 1
s

sante

09/07/2020, 11:50 PM
Or if you want some content to be seen through the fab cutout
a

Ali Zargar Shabestari

09/08/2020, 5:19 AM
These make a lot of sense! Thanks
3 Views