Max Widget Size Ratio
Depend on screen size and launcher of the design device.
So we have to make a sample picture to test the best fit.
Then when we use a widget in any other devices, The launcher will auto stretch.
Example: My Lenovo K3 Note
X1 = 240
Y1 = 280
S = 40
X2 = 520
Y2 = 600
Max Widget Size Ratio
Re: Max Widget Size Ratio
Updated!
I fine tuned and found out the best value for 1x1 widget is 228x280.
It can resize to 2x2, 3x3 and 4x4 without problem.
But for asymmetry size eg. 2x1, 3x2, 4x2 they couldn't resize without gap.
Because gaps between array are not the same.
Automagic doesn't automatic stretch the widget.
For 1x1 widget, the best value is 228x280.
------------------------------------------------
For 2x1 widget, the best value is 496x280.
For 1x2 widget, the best value is 228x624.
For 4x1 widget, the best value is 1042x280.
For 4x2 widget, the best value is 480x280.
I fine tuned and found out the best value for 1x1 widget is 228x280.
It can resize to 2x2, 3x3 and 4x4 without problem.
But for asymmetry size eg. 2x1, 3x2, 4x2 they couldn't resize without gap.
Because gaps between array are not the same.
Automagic doesn't automatic stretch the widget.
For 1x1 widget, the best value is 228x280.
------------------------------------------------
For 2x1 widget, the best value is 496x280.
For 1x2 widget, the best value is 228x624.
For 4x1 widget, the best value is 1042x280.
For 4x2 widget, the best value is 480x280.
Re: Max Widget Size Ratio
Six lines debug
height = 44
textsize = 38
8
52
96
140
184
228
height = 44
textsize = 38
8
52
96
140
184
228