Do we have a Composable for bottom bar with a crad...
# compose
g
Do we have a Composable for bottom bar with a cradled fab like this one -> https://material.io/develop/android/components/app-bars-bottom ?
m
Use
Scaffold
. There you can set
floatingActionbutton
and
bottomBar
and specify whether fab should be docked or not
g
Thanks!
m
And then specify cradle shape in
BottomAppBar
If you want to have cutout
g
Got it!
Copy code
BottomAppBar(cutoutShape = CircleShape)
@matvei Does
BottomNavigation
support also a cutout?
m
No, it doesn't, not per material spec. I thought about it and I can see no reason why we can't have it, but need to clarify with material UX team first. File a bug!
cc @Louis Pullen-Freilich [G]
g
Here you go, I hope it’s complete: https://issuetracker.google.com/issues/161814388
👍 1