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

lhwdev

03/24/2022, 1:22 PM
How can I set proper status bar colors for Dialog? I'm creating custom full screen dialog (but it differs; it can extend below system ui). I've managed to do most things except one thing, I cannot properly use system ui controller for Dialog Window. I'm using accompanist-systemuicontroller and it seems to pull window only from
Activity
. (there is DialogWindowProvider for this purpose?)
(something like
controller.navigationBarDarkContentEnabled = true
doesn't work) (seemingly because controller refers to its Activity rather then Dialog itself)
(if anyone wonders, I filed an issue and it was fixed, making into release)
4 Views