On Thu, Dec 31, 2009 at 3:17 AM, muni anda <[email protected]> wrote:

> I was under the impression that size needs to be double of the x-axis
> times y-axis not matter what the orientation is. That is because the
> Android virtual desktop spans 2 horizontal screens. If that is right,
> the logic used appears to only works for some panels which has width <
> height in the portrait orientation.
>

The size doesn't "need" to be anything, except at least the same size as the
maximum dimension of the screen (to be big enough to cover both landscape
and portrait layouts).  Other than that, any extra size just impacts how
much parallax there is during scrolling.

If the idea is to just minimize the size and use scaling to fit the
> panel's virtual desktop in any orientation, then any width/height/size
> will do.
>

No, it is to pick a size that will generally be larger than the shown
screen, by some amount, so there is parallax during the scrolling, without
being excessive.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to