MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.12k stars 60 forks source link

[Feature request] status bar background #789

Open gaabster opened 2 months ago

gaabster commented 2 months ago

Would it be possible to add background for status bar? It could be something as simple as light, dark or automatic just to have it in line with the already present option for text. Or maybe even add opacity setting so it keeps the theme in line with widgets/cards.

I think it would help with visibility and readability in some situations. For example I have wallpapers change every few hours and having light text on bright wallpaper is not good.

Thank You.

Edit. I guess I should add that status bar text doesn't change color when wallpaper changes.

KrisadaFantasy commented 2 months ago

I guess this is like option to hide notch in some OS? Would be more fancy as launcher-based if I can custom theme and colour on it! Material colour based on wallpaper would look really good and easier to read.

gaabster commented 2 months ago

It's not a notch. This is what I have in mind: ResizedImage_2024-05-08_10-25-21_2611 I apologise for the quality. At the moment when set a light background the text In the status bar becomes really difficult to read, like this for example: ResizedImage_2024-05-08_10-33-28_1613 Even with the option "Status bar icons" set to auto, they do not change color. Maybe this is a bug or I simply do not understand how it's supposed to work.

MM2-0 commented 2 months ago

Even with the option "Status bar icons" set to auto, they do not change color. Maybe this is a bug or I simply do not understand how it's supposed to work.

"Auto" uses the system's wallpaper color hints to determine the content color for status bar, nav bar, search bar, and clock. However, this feature is only available on Android 12, and the system only gives a single hint for the entire wallpaper. Since the majority of your wallpaper is dark, the system decides, that it is not suitable for dark text. It only really works for wallpapers that are almost entirely white or very bright.

See attached image for a working example:

![Screenshot_20240508-105735_Kvaesitso](https://github.com/MM2-0/Kvaesitso/assets/15646950/6acc2853-03ff-4f07-b54f-bd2fb807270c)
gaabster commented 2 months ago

Even with the option "Status bar icons" set to auto, they do not change color. Maybe this is a bug or I simply do not understand how it's supposed to work.

"Auto" uses the system's wallpaper color hints to determine the content color for status bar, nav bar, search bar, and clock. However, this feature is only available on Android 12, and the system only gives a single hint for the entire wallpaper. Since the majority of your wallpaper is dark, the system decides, that it is not suitable for dark text. It only really works for wallpapers that are almost entirely white or very bright.

Yup, I was just reading about it. Thank you for taking your time to reply. Even with this little annoyance the launcher is epic, thanks again. That is beautiful.

KrisadaFantasy commented 2 months ago

It's not a notch.

I have option in MIUI setting to "Hide Notch." It put the black background behind status bar to blend the camera hole. But that is OS setting and it is only black bar to hide the hole.

At first I think that additional "status bar background" option (auto/light/dark/material colour) should be enough, but seeing your example and @MM2-0 explanation about how Android pick colour this might not be enough. We probably need to separate setting for background and status bar text altogether.