Hacker News new | ask | show | jobs
by r00fus 5088 days ago
Isn't this how it's done in the Android world (and chastised by iOS developers)? Really, I'd like to know.
1 comments

in android, one provides four different density-specific resources.

  ldpi:  low-density screens (~120dpi)
  mdpi:  medium-density (~160dpi) [baseline]
  hdpi:  high-density (~240dpi)
  xhdpi: extra high-density (~320dpi)
there is a nodpi qualifier which is intended for density-independent resources.

there are also screen size qualifiers, small, normal, large, extra large.

These screen size qualifiers have been deprecated beginning with Android 3.2 (HoneyComb). See best practices on Android developers site: http://developer.android.com/guide/practices/screens_support...
i never used the screen-size qualifiers myself, but good to know they've deprecated them in favor of what seems to be simpler.

AFAIK, the density qualifiers are still being used, and are mentioned in the "new" design guidelines document as well, giving me the impression they may stick around for a while. http://developer.android.com/design/style/devices-displays.h...