Max Widget Size Ratio

สอนใช้แอพ Automagic * Automation
Gridvision Engineering GmbH
https://play.google.com/store/apps/details?id=ch.gridvision.ppam.androidautomagic
Post Reply
tong
Site Admin
Posts: 2328
Joined: Fri 01 May 2009 8:55 pm

Max Widget Size Ratio

Post 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
tong
Site Admin
Posts: 2328
Joined: Fri 01 May 2009 8:55 pm

Re: Max Widget Size Ratio

Post 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.
tong
Site Admin
Posts: 2328
Joined: Fri 01 May 2009 8:55 pm

Re: Max Widget Size Ratio

Post by tong »

Six lines debug

height = 44
textsize = 38

8
52
96
140
184
228
Post Reply