Android Status Bar color is defaulting to the colorPrimaryDark of the app theme. Looks like this is "hassio blue" which makes it ugly (see image).

I have that problem too
So an initial implementation could look at the HTML source and extract the theme from the <meta name='theme-color'> tag. We could use this JS:
document.querySelector('meta[name=theme-color]').content
This would be a good first approach. This won't work when a user changes the theme though. If we want to add support for that, we should first update the frontend first to notify the app via the external bus https://developers.home-assistant.io/docs/en/frontend_external_bus.html
Opened an issue at the frontend to track reporting the primary color via the external bus. https://github.com/home-assistant/home-assistant-polymer/issues/4220
When implemented in the app, we should cache the primary color value, and update it whenever the frontend gives us a new value.
One quick fix here is to use theme_color which is returned from get_config webhook.
It's not perfect but probably hits 90% use cases.
This is not implemented yet, right?
want to know that too
Just tested build 80 and I force closed the app and reopened and it did not update the status bar. I tried to clear data in the app and log back in, change the theme and then force close the app but it still did not update. Is there a specific theme variable that needs to be set that I am missing?
I noticed when I got to my production instance too, already fixed: https://github.com/home-assistant/home-assistant-android/pull/270
@JBassett latest build (81) does not seem to be working when I force close the app and re-open, are you seeing the same thing?
@dshokouhi Yep, the device I test with (Nexus 6) it works great.... but it's a couple versions behind, My Pixel 2 doesn't work. I normally don't test on it because I would need to uninstall the firebase version. I'm going to do 2 things, make it so a debug build can be installed beside a "production" build and fix the themeing on newer devices.
Hi, is there some progress on this?
After digging in we are doing what we can for now, another story has been opened to set theme of current app instead of overall theme: https://github.com/home-assistant/home-assistant-android/issues/272
However if you call the frontend.set_theme service and close and reopen the app the status bar will match.
Most helpful comment
@dshokouhi Yep, the device I test with (Nexus 6) it works great.... but it's a couple versions behind, My Pixel 2 doesn't work. I normally don't test on it because I would need to uninstall the firebase version. I'm going to do 2 things, make it so a debug build can be installed beside a "production" build and fix the themeing on newer devices.