Strange, I thought I wrote a reply here some days ago. One more try...

Thanks Dianne, it's good to know that drawable-nodpi is an option for
this. I promise to think twice before using it.

I think it's all a matter of taste. Some people actually prefer larger
images on larger devices. A good example when this makes sense is the
virtual keyboard which is bigger on a tablet than on a phone.
Generally, when you feel like you've had to squeeze in the interface
on a phone screen, it makes sense to blow it up a bit on a tablet.

Currently, to keep the images proportional and avoid pixelation, I
have limited the size of my app to max 480x1024 on hdpi devices and
320x1024 on mdpi devices. I'm doing this using Display.getWidth()/
getHeight() and Window.setLayout(). It looks pretty good on the Galaxy
Tab but a bit too small on the Xoom.

On 27 Maj, 01:13, Dianne Hackborn <[email protected]> wrote:
> On Thu, May 26, 2011 at 3:35 PM, nadam <[email protected]> wrote:
> > I want to do this because it's what my client tells me to do. Not my
> > decision. They have designed the app for phone size only and want it
> > to scale up for larger devices (or not run on larger devices at all).
> > The app contains many specially designed images, some that should
> > cover the whole screen and some that should fill the width of the
> > screen (portrait mode only) while maintaining the original aspect
> > ratio.
>
> You will need to put them all under drawable-nodpi and manually scale each
> image as appropriate to get this different effects you want.
>
> And again, I would very strongly discourage this.  You are setting yourself
> up for pain.
>
> --
> 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.

-- 
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