xhdpi wasn't added until GB.  It doesn't exist on Froyo, so there is no
need to check for it.

Also saying that you are checking density to solve problems on large
devices is...  wrong.  Density is screen pixel density; it has nothing to
do with device/screen *size*.

On Sat, May 5, 2012 at 2:01 AM, phoenix-launcher.com <
[email protected]> wrote:

> Hi,
>
> i want to make my app compatible to Froyo, i can downgrade most of my
> code but have
> no idea on how to detect XHDPI screens. Currently i have things in my
> code like
> "if( mDisplayDensity == DisplayMetrics.DENSITY_XHIGH)" to solve some
> problems on large
> devices - in the Froyo version this isnt possible because its not
> supported.
>
> Thanks for a tipp to solve that :)
>
> Greets from Munich
> Andy
>
> --
> 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
>



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