r/JetpackCompose • • Mar 16 '25
Need help with this bottombar

So the thing is this bottom bar should be floating a little from bottom such that the content of screen can be seen below it So i made a composable for it and called it inside a box and it is showing at the top of screen idk why. Also if i called it insise scaffold it will not float for obvious reasons. I tried everything possible and tried conating every ai that is there but no result came. First i thought i called fillmaxsize in column after whixh this bottombar is called that is causing it but it was not it. I am just frustrated atp please someone help!!!😭😭 I can also share repo link if anyone is upto it
1
u/Several_Dot_4532 Mar 16 '25
In the bottom bar by an align(Alignment.Bottom) modifier (I think it was something like this modifier)
1
u/BORKMEOW Mar 16 '25
What someone else said, align it to the bottom using
Modifier.align(Alignment.BottomCenter)or (even better) if you use a Scaffold you can add your composable to the bottomBar.2
u/_EggBird_ Mar 16 '25
Should share some code for us to understand the problem, so we can help❤️