Android status bar is always light in dark theme
See original GitHub issueHome Assistant Android version: 2021.1.1-full
Android version: 11
Phone model: Pixel 3XL
Home Assistant version: 2021.2.3
Last working Home Assistant release (if known): unknown
Description of problem: After setting Android theme and Home Assistant Android app theme to dark and even after reboot the status bar and the bottom navigation bar are still light.
Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information: Not sure if it is connected with #272
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Android M Light and Dark status bar programmatically - how to ...
The solution posted by @Aracem is valid but, doesn't work if you try change also the background color of the status bar. In...
Read more >Notification Panel in dark mode when dark mode is off. - Reddit
Notification Panel in dark mode when dark mode is off. I think it has something to do with the whole "colours change based...
Read more >Dark theme - Android Developers
Dark theme applies to both the Android system UI and apps running on the device. ... Assuming that the background color is always...
Read more >Theming status bar icons | Android | Medium
Learn how to automatically change between light and dark status bar icons on Android depending on the device theme setting.
Read more >Status bar color in dark theme inconsistency #5232 - GitHub
Status bar color is lighter than the conversation color. That apply on every color. ... As example Android dark theme is plain dark....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah ok so it seems that another theme was set to default because we grab that value from the frontend: https://companion.home-assistant.io/docs/integrations/theming
As of now the app relies on this value but #272 has a linked frontend issue that should solve this when the user makes a change instead of it being a global default like the service call performs
Sorry, @dshokouhi , it works. Calling
frontend.set_theme
withname: default
changes the status bar to dark.