https://kotlinlang.org logo
#compose
Title
# compose
m

Mohamed Ibrahim

08/07/2021, 1:20 AM
how can I show composable over a bottom navigation? overlay I think
c

Colton Idle

08/07/2021, 2:43 AM
Have any code to show? Showing a composable over top another composable can just be done via a Box{ FirstThing(Modifier.fillMaxSize) SecondThing(Modifier.fillMaxSize) } If you mean that you just want a modal, then read up on dialogs https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]/samples/DialogSample.kt;l=29?q=compose%20dialog%20sample&sq=
i

Ian Lake

08/07/2021, 2:44 AM
All
composable
destinations within a
NavHost
are contained within that
NavHost
. If you want to hide the bottom nav on certain destinations, we've talked about that a number of times: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1627490432392100?thread_ts=1627477759.324500&cid=CJLTWPH7S
☝️ 1
👀 1
2 Views