On Tue, Apr 17, 2012 at 7:11 AM, kodlan <[email protected]> wrote:
> Where did you get those numbers for Nexus?

Arithmetic.

> What's the way to calculate them?

dip = px * 160 / density

using the density buckets (e.g., -xhdpi is 320)

So:

1280px * 160 / 320 = 1280 / 2 = 640dip

> The problem with x-large is that it not recommended to be used for 3.2
> and higher,
> see 
> http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts,

Please re-read those instructions. Nowhere does it say that -xlarge is
"not recommended" for 3.2 and higher. You have *alternatives* for 3.2
and higher, if you wish to use them.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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