Using the following equation yields:

Minimum size in dip = (Number of cells * 74dip) - 2dip

146dip = (2 * 74dip) - 2dip
72dip = (1 * 74dip) - 2dip

The reason for the odd math is because the same dimensions are used
when inserted in landscape mode, which has different cell sizes on the
default home screen.

Source of equation:
http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html

j

On Sat, Jun 13, 2009 at 7:02 PM, Hastala<[email protected]> wrote:
>
> I use 160*100 but it becomes 3*2 cells. Is this a bug?
> >
>



-- 
Jeff Sharkey
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to