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
Tolriq
09/02/2022, 9:57 AM
Android itself does not support gradient there, you need to set it to transparent and draw under yourself.
o
Othman El Jazouli
09/02/2022, 10:19 AM
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