forecastie
forecastie copied to clipboard
Widget 5x1 unavailable in Android 11
In Android 9 and 10 the 5x1 widget was available:
But after updating to Android 11 the size is now 5x2:
How can the 5x1 widget be returned? The narrower size is ideal for taking up less screen estate.
Try adding the widget to the screen, then dwell-click on it. You should be able to use the handles to resize it, We should probably get rid of that ability and set it as 5x1 all the time, the resizing adds nothing and only causes minor problems.
I also see the 2x1 widget is now 3x2. More investigation required. Unfortunately I'm stuck in the stone ages with LineageOS 16 (Android 9) and can't do so.
Try adding the widget to the screen, then dwell-click on it. You should be able to use the handles to resize it
Only able to increase the height (5x3, 5x4, etc), not able to decrease to 5x1, the minimum is 5x2.
Unfortunately I'm stuck in the stone ages with LineageOS 16 (Android 9) and can't do so.
What device do you have?
Hmm, fascinating. There must be a default size set somewhere, perhaps in one of the widget xml files.
It's this file: time_widget.xml.
Perhaps the padding (currently at 8dp) is too high?
Could you take a screenshot for how it looks when you add it to the home screen?
What device do you have?
Samsung Galaxy S5 Mini. I don't want stock Android, and there is no later version of Lineage for this device.
Could you take a screenshot for how it looks when you add it to the home screen?
@JonnyTech after update to Android 11 have count of lines and/or columns at Home screen increased too or it has stayed the same and only count of needed space for Forecastie widgets have increased? I've looked at sizes of widgets on Android 11 Emulator and haven't seen increase of needed space.
According to documentation and code in time_widget.xml
we don't specify width and height in lines and columns but in dp (Density-independent Pixels). So count of lines and columns calculated by system based on Home screen implementation and size of the screen. But we can add minResizeWidth
and minResizeHeight
to add option to make widget small and give to user freedom to decide how they want widget to look like.
I can change grid size in the launcher but 5x1 is not available in any of them.
Android 10 (LineageOS17) is ok but Android 11 (LineageOS18) is not.
Is there anything that I can do to test without recompiling?