ottop / yam_launcher

A minimal android launcher with weather integration.
MIT License
34 stars 2 forks source link

Status Bar not visible with dark background #15

Closed marco9446 closed 2 weeks ago

marco9446 commented 1 month ago

First of all thank you for the very nice launcher.

I only have a small issue. I'm currently using the background color option to set the background to black. If I do that, and the phone is in light mode, the status bar disappear because it's black text on black background.

Would it be possible to set the status bar text color based on the background?

ottop commented 1 month ago

Thanks for the feedback.

I'm not sure if this is possible, but I'll look into it.

marco9446 commented 1 month ago

Thanks a lot. Otherwise, having an option to manually set a color that overrides the android theme for the status bar text, would be more than enough

ottop commented 4 weeks ago

Turns out status bar text color can be changed, but only between black and white. I have now implemented this in such a way that the status bar text color is set according to the text color in the launcher. The implementation is as follows:

Light text color -> White status bar text Dark text color -> Black status bar text Material text color -> Depends on whether using light or dark theme. White for dark theme, black for light theme.

ottop commented 2 weeks ago

This has now been released in 1.6.