Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivorsmorenburg opened this issue Sep 15, 2024 · 3 comments
Open

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

ivorsmorenburg opened this issue Sep 15, 2024 · 3 comments
Labels
bug Something isn't working widget

Comments

@ivorsmorenburg
Copy link
Contributor

ivorsmorenburg commented Sep 15, 2024

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:

@ivorsmorenburg ivorsmorenburg added the bug Something isn't working label Sep 15, 2024
@jpelgrom
Copy link
Member

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
Copy link
Member

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 added a commit to ivorsmorenburg/android that referenced this issue Sep 15, 2024
Fixes Static Widget Info wrongly using Button Widget Layout
ivorsmorenburg added a commit to ivorsmorenburg/android that referenced this issue Sep 15, 2024
…of the widgets

Transparent background to camera.
@ivorsmorenburg
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working widget
Projects
None yet
Development

No branches or pull requests

3 participants