Page 1 of 1

Max Widget Size Ratio

Posted: Sat 24 Oct 2015 3:18 pm
by tong
_widget_size_ratio.png 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
Screenshot_2015-10-24-14-59-52-613.jpg Screenshot_2015-10-24-15-00-30-961.jpg

Re: Max Widget Size Ratio

Posted: Thu 30 May 2019 11:07 pm
by tong
widget.png 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.
snap3942.png 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

Posted: Fri 31 May 2019 2:37 pm
by tong
Six lines debug

height = 44
textsize = 38

8
52
96
140
184
228