Thread
#compose
    Luis Daivid

    Luis Daivid

    1 year ago
    I added bottomNavigation to scaffold. However, the bottom of the content of the scaffold is covered by the bottom navigation. What should I do?
    flosch

    flosch

    1 year ago
    Use the inner padding provided by the scaffold body lambda
    Luis Daivid

    Luis Daivid

    1 year ago
    Scaffold(
        bottomBar = {
            ...
        },
    ) {
        NavHost(navController, startDestination = "one") {
            composable("one") { ... }
            composable("two") { ... }
            composable("three") { ... }
        }
    }
    where shoud i use?
    Do I have to pass the padding as a parameter for each composable?
    j

    jaqxues

    1 year ago
    I suppose you can wrap NavHost inside a Box and use the paddings on the box
    Luis Daivid

    Luis Daivid

    1 year ago
    @jaqxues thank you!