tags:

views:

32

answers:

1

In android docs, it is said that 140 still is ldpi, but when I change dpi to 140, I find mdpi resource is retrieved, can someone have idea? thanks a lot.

btw, I read the code about how to get resource, seems ldpi's max dpi value is 131.25? Does google post the wrong doc?

A: 

The Android docs say ldpi is for "for 100 to 140 dpi screens." and mdpi is for "140 to 180 dpi", which indicates 140 could be correctly reported as mdpi (to something does not necessarily mean that it includes that something).

The compatibility test suite does, however, appear to indicate 140 should be classified as LDPI, so it's probably worth raising this in b.android.com as a bug stating the platform your running on.

Al Sutton
thanks, i think it is resource bug which does not match this indicators.
mason