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:
sp
) and density-independent pixels (dip
)-land
, -mdpi
, and -hdpi
to customize
resources such as layouts and graphical assets for different screen configurations-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/