Closed AbdullahJaved-dev closed 1 year ago
Commented default status bar code from Theme.kt. and it's working now.
Just to confirm, you had to comment out the default status bar code handling in Theme.kt
that is created with the Android Studio template?
Yes. I had commented the Android Studio template status bar color code in Theme.kt
file. And then SystemUIController was working fine.
That's great to know if anyone else is running into issues and troubleshooting, thanks for sharing!
@alexvanyo Still seeing this. Also the icons are fading away
Commented default status bar code from Theme.kt. and it's working now.
What do you mean by this?
here's my Theme.kt
I believe it's how it is in Android S. Seems to be fine in Android R. I'll have to check with some other versions
I am using SystemUiController library to update the system bars color but it working only for navigation bar, not for status bar.
Using this code to update color to black
Status bar color should be black.
Device: Samsung S10+ Android version 12