I've added support for dark mode in one of my apps, but when I try to specify a black navigationBarColor for the dark theme, nothing happens (it stays white).
I'm not using AppCompat in this app (haven't had a need for it yet, and it seems like some work to set up). Is this a case where I'd need to add the AppCompat library and put this line in my activity?
After lots of debugging and comparing to working code, I finally found out that my code is just fine.
The problem was the theme.xml file I was trying to create in the manifest was already there and read-only, so no matter what changes I made, the XML always stayed the same.
Rookie mistake, after all that head-scratching. <sigh>