librepods icon indicating copy to clipboard operation
librepods copied to clipboard

Widget icons have graphical issue

Open CloudRealm opened this issue 4 months ago • 7 comments

App version

Version 1.0.0-rc1 - version code 61

App source

GitHub

Device

Google Pixel 10

Android / OS version

17 (CP2A.260705.006)

Root / hook method

No root (native L2CAP support)

AirPods model

AirPods Pro 2 (USB-C)

AirPods firmware

No response

What happened

Android home screen widget looks a little bit off at the bottom edges of each button. The functionality works fine. The buttons just look weird.

Image Image

Logs

No response

Additional context

No response

CloudRealm avatar Jul 17 '26 03:07 CloudRealm

I have a similar issue but this seems to be an overall issue with how the widget gets rendered by the system. The "shadow" or however you want to describe it is from the text that is usually displayed under the icon. The widget itself is constrained to have a maximum height of one but the layout isn't optimized for being that compressed meaning the text gets cutoff and only a small shadow from the text is visible. On my phone the text is just a tiny bit visible if the character is tall enough Screenshot_20260717-165235.png

Entiti3039086 avatar Jul 17 '26 14:07 Entiti3039086

The widgets will be greatly improved (by that I mean, rewritten, and will use Glance) in the next release. Suggestions for how the widgets should look are welcome! I am thinking of a single widget per-device for battery and quick controls like noise control and conversational awareness. And I was wondering if simple text for battery might be better instead of the current iOS-like design.

kavishdevar avatar Jul 17 '26 15:07 kavishdevar

I think a good approach would be similar to the main app theme being switchable from the apple design to m3e. I personally like the m3e one more as it fits more into the system but the general look of the widgets is pretty good as it is extremely simple and thus easy to understand.

Entiti3039086 avatar Jul 17 '26 15:07 Entiti3039086

Here's how it will look:

(this is just a mock, actual implementation might vary depending on RemoteView limitations)

Customization for color and transparency will be available. Perhaps the corner radius too.

I might add a battery list widget as well. Probably the same design as the one provided by Settings Services or something.

kavishdevar avatar Jul 18 '26 09:07 kavishdevar

I think the transparent widget would look really nice if you could add the contour glow from OPPO would maybe as another widget option it also gives a bit more liquid glass look

hanslauch325-eng avatar Jul 18 '26 18:07 hanslauch325-eng

I like the designs, although I would just prefer the current 3 icons design(you can make them look different if you want but the 3 icons with no extra info is nice) if I wanna check battery I would personally check the notifications.

CloudRealm avatar Jul 18 '26 18:07 CloudRealm

I think the transparent widget would look really nice if you could add the contour glow from OPPO would maybe as another widget option it also gives a bit more liquid glass look

The widget can't sample what's beneath the widget, and a static color won't look good. Also, it seems like the contour glow should be added by the launcher?

I like the designs, although I would just prefer the current 3 icons design(you can make them look different if you want but the 3 icons with no extra info is nice) if I wanna check battery I would personally check the notifications.

I'll add an option to show icons, and hide conversational awareness toggle and the disconnect button. I could add an option to hide the battery text but it doesn't really take up too much space. However, I feel like the name should always be visible. I'm going to remove the logo entirely, looks very forced there.

btw, the notification will (optionally) show anc controls starting next update!

kavishdevar avatar Jul 18 '26 19:07 kavishdevar