hey, does compose support gradient status bar? I k...
# compose
o
hey, does compose support gradient status bar? I know from
com.google.accompanist:accompanist-systemuicontroller
we can change single color
Copy code
val systemUiController = rememberSystemUiController()
systemUiController.setStatusBarColor(Color.Gray)
but can’t find for gradient in the screen I’m working on the background is gradient and can be animated to another gradient and I would like to have the same effect for the status bar
t
Android itself does not support gradient there, you need to set it to transparent and draw under yourself.
o
hmm, how would you draw under it? is it just playing around with
window
in
onCreate
? or is there something that can be done with compose? all the solutions I found were using xml styles