forecastie
forecastie copied to clipboard
Layout bug in weather status icon
Device:
Android 9.0
Screen size:
4.5"
App version:
1.15
Issue details: The weather status icon in the widgets (all of them) gets overlapped with the text when it shows 'raining with thunderstorm'
Is this a duplicate of #454? Probably not, but I'm not sure. Would you be able to upload a screenshot? Cheers
Oops! the post got inadvertently closed, sorry.
It's a different issue than #454 . Unfortunately, I cannot reproduce the bug right now because the weather condition is different. but I can explain to you what happens. When the weather says 'heavy rain with thunderstorm' or something (cannot remember the exact text), it being a long text
, overlaps with the zigzag styled thunder part under the cloud part in that particular weather status icon.
Ok, finally got that kind of weather
Humble suggestion: Could the weather status icon be placed slightly up and rightwards and probably a bit resized down in all the widgets?
OK, thanks for getting back with the info. Your suggestion sounds good, if you're willing then submit a PR or wait and we'll get to it. Cheers!
Also, where moving and resizing of the icon is tedious or not possibe, the weather status text could be wrapped in 2 rows.
I wonder if this is device specific? I've not seen this particular bug before, it looks like it would be too common to go by unnoticed. Our weather icons are packaged as a font, perhaps there is some oddity/change in font rendering. Are you using the stock image from your provider?
@robinpaulson sometimes I see this too at simple widget on Nokia 6.2 with Android 10 and ru locale.
Weather icon doen't have constraints to TextViews so if strings too long they could overlap the icon. And I think RelativeLayout
doesn't have vertical constraints only horizontal like android:layout_toEndOf
. May be we should replace RelativeLayout
with ConstraintLayout
are you interested in trying it out in code? i'd much appreciate it
Ok, I'll do it after completing notification.
I think this is mostly related to smaller screen size and/or resolutions.
The picture below shows how widgets look on my device (5.2” FHD 1080 x 1920 px), v1.13.3 from F-droid.
As I can see, the weather icons id distant enough from text strings so it is unlikely it gets overlapped.
.
@TheProUser I see from the issue description your screen size; do you mind adding the pixel resolution information? Thanks!