MultiResolution - Multiple Resolutions

A sample application that shows how to use resource directory qualifiers to show different resources to different screen configurations (layout orientation, screen resolution, screen density, etc.). It demonstrates using:

  • 9-Patch drawables for creating scalable/stretchable graphics.
  • Proper layout size units, such as scale-independent pixels (sp) and density-independent pixels (dip)
  • Resource directory qualifiers such as -land, -mdpi, and -hdpi to customize resources such as layouts and graphical assets for different screen configurations
  • Resource directory qualifiers such as -v4 and -v6 to show different application icons based on platform version, for consistency with system icon styles.

You can find the source code for this sample in your SDK at:

<sdk>/platforms/android-<version>/samples/