2

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.

Eben Geer
  • 3,656
  • 3
  • 29
  • 34
user606669
  • 1,644
  • 7
  • 26
  • 39

2 Answers2

1

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

Anthony Graglia
  • 5,205
  • 5
  • 43
  • 74
0

See how to differentiate the 480X800 and 480X854 screens in android?

Community
  • 1
  • 1
Vincent Mimoun-Prat
  • 27,630
  • 15
  • 77
  • 123