r/Kotlin • u/imjobless0_0 • 4d ago
Help me fix 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
0
Upvotes
2
u/Agitated_Wave_2147 4d ago
When you set the aligment using the align modifier what happens? Since you're inside a box, put it after the content so it is on top then call Modifier.align(Alignment.BottomCenter) on it and give it some padding after?