Mohan manu
08/12/2022, 4:18 AMColton Idle
08/12/2022, 5:32 AMColor(0x80FF0000). or just take whatever color you're already setting (lets say it's Color.Black), you should be able to do Color.Red.(alpha = .5F) to set the alpha that way.Mohan manu
08/12/2022, 5:33 AMMohan manu
08/12/2022, 5:34 AMColton Idle
08/12/2022, 5:41 AMIan Lake
08/12/2022, 5:42 AMCrossfade (which is what NavHost uses) and AnimatedContent (which is what AnimatedNavHost uses) works). You could make your own Navigator like BottomSheetNavigator that has the destination implement FloatingWindow, which would keep the previous destination visible underneath, but then you'd need to handle displaying that overlay destination yourselfIan Lake
08/12/2022, 5:42 AMMohan manu
08/12/2022, 5:45 AMColton Idle
08/12/2022, 5:46 AMModalBottomSheetLayout
https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#ModalBottomSheetLayout(kotli[…]hics.Color,kotlin.Function0)Mohan manu
08/12/2022, 5:54 AMIan Lake
08/12/2022, 2:59 PM