user606669
user606669

Reputation: 1696

How to differentiate between WVGA800 (480x800) WVGA854 (480x854) hdpi (240dpi)

I have two devices WVGA800(htc desire) & WVGA854(emulator) 240hdpi . I need to scale image differently on each device but each time it takes the same layout.

My folder layout is as under:

layout-normal-long-hdpi
layout-normal-notlong-hdpi

but both takes the layout from normal-long , dont understand why is that, I even tried normal-long-land-hdpi but didnt worked.

Upvotes: 2

Views: 14047

Answers (2)

Anthony Graglia
Anthony Graglia

Reputation: 5435

Im pretty sure the fall into the same category. you may want to actually get screen pixel height and act accordingly.

http://developer.android.com/guide/practices/screens_support.html

Upvotes: 1

Related Questions