im sorry i just got lost.... i'm new to android developement

On Sun, Jan 1, 2012 at 8:51 PM, jc <[email protected]> wrote:

> On Dec 29 2011, 10:06 pm, Jonathan <[email protected]> wrote:
> > And how in the world do they get a 2/3 scaling factor?
>
> HDPI density is 240 dpi, see
> http://developer.android.com/reference/android/util/DisplayMetrics.html#DENSITY_HIGH
>
> if dp = px / (dpi/160) and dp = px * scaling factor then scaling
> factor = 1 / (dpi/160)
>
> hence, hdpi scaling factor is 1 / (240/160) or 160/240 resulting in 2/3
>
> --
> 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

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