800x...@240dpi is definitely a normal screen.  If the device is reporting it
as large, it is broken.

On Wed, Aug 18, 2010 at 11:00 PM, Albert <[email protected]> wrote:

> Hi,
>
> My application will have two layouts, one for large screens and one
> for normal. For testing I'm working with one phone (800x480 240dpi)
> and one tablet (1024x600 240dpi) but both are detected as large screen
> hdpi and long aspect ratio, so I'm not able to assign different
> layouts.
>
> The only approach I think that can work is to create layout-large and
> layout-normal, get the resolution and programmatically set the layout
> folder. Is that possible?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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