Home > Net >  Stick Item at bottom of screen in smaller screen in jetpack compose
Stick Item at bottom of screen in smaller screen in jetpack compose

Time:12-06

I want to stick item at bottom of screen. I did this in larger screen without any problem with the help of this enter image description here

CodePudding user response:

You can use something like:

Column(
    verticalArrangement = Arrangement.SpaceBetween
){
        Column(
            Modifier
                .verticalScroll(rememberScrollState())
                .weight(1f),
            verticalArrangement = Arrangement.SpaceBetween

        ) {
           //Parent1/2/3
        }

        Column() {
            //Child 1/2
        }

}

enter image description here

  • Related