home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.25k stars 627 forks source link

Background on widgets when dark does not have round corners #4641

Open ivorsmorenburg opened 3 days ago

ivorsmorenburg commented 3 days ago

Home Assistant Android app version(s):

Tested on the lastest master

Android version(s):

Device model(s): OnePlus 8 Pro Home Assistant version: n/a Last working Home Assistant release (if known): n/a Description of problem, include YAML if issue is related to notifications: Rounds corners issue for what I think is the different radius on the corners of the widgets Theme.

Companion App Logs:

Screenshot or video of problem: Screenshot_20240915_160956 Screenshot_20240915_161024

Additional information:

jpelgrom commented 3 days ago

This feels like a launcher issue to me because the app literally isn't providing the layout for the widgets (the layout sets corner radius).

dshokouhi commented 3 days ago

I am unable to reproduce on my pixel 9 pro xl using the production app (please note: camera widget is intended to have transparent background)

image

ivorsmorenburg commented 3 days ago

On your Pixel your are probably using the theme which has 28dp round corners but in lower is where I can see the issue, I think setting the radius from 8dp (@dimen/widget_corner_radius) to 28dp could fix the issue.