diff options
Diffstat (limited to 'docs/html/design/style/iconography.jd')
-rw-r--r-- | docs/html/design/style/iconography.jd | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/docs/html/design/style/iconography.jd b/docs/html/design/style/iconography.jd index d8d8c76..e5161f4 100644 --- a/docs/html/design/style/iconography.jd +++ b/docs/html/design/style/iconography.jd @@ -29,7 +29,7 @@ units, which are based on the pixel dimensions of a medium-density (MDPI) screen scaling ratio</strong> between the five primary densities (medium, high, x-high, xx-high, and xxx-high respectively). For example, consider that the size for a launcher icon is specified to be 48x48 dp. This means the baseline (MDPI) asset is 48x48 px, and the -high density (HDPI) asset should be 1.5x the baseline at 72x72 px, and the x-high +high-density(HDPI) asset should be 1.5x the baseline at 72x72 px, and the x-high density (XHDPI) asset should be 2x the baseline at 96x96 px, and so on.</p> <p class="note"><strong>Note:</strong> Android also supports low-density (LDPI) screens, @@ -489,11 +489,12 @@ art/... xhdpi/... _pre_production/... <em>working_file</em>.psd - <em>finished_asset</em>.png</pre> + <em>finished_asset</em>.png xxhdpi/... _pre_production/... <em>working_file</em>.psd - <em>finished_asset</em>.png</pre> + <em>finished_asset</em>.png +</pre> <p>Because the structure in your working space is similar to that of the application, you can quickly determine which assets should be copied to each @@ -513,6 +514,8 @@ application: </p> <em>finished_asset</em>.png drawable-xhdpi/... <em>finished_asset</em>.png + drawable-xxhdpi/... + <em>finished_asset</em>.png </pre> <p>For more information about how to save resources in the application project, @@ -520,6 +523,21 @@ see <a href="{@docRoot}guide/topics/resources/providing-resources.html">Providin </p> +<h3 id="xxxhdpi-launcher">Provide an xxx-high-density launcher icon</h3> + +<p>Some devices scale-up the launcher icon by as much as 25%. For example, if your highest density +launcher icon image is already extra-extra-high density, the scaling process will make it appear +less crisp. So you should provide a higher density launcher icon in the <code>drawable-xxxhdpi +</code> directory, which the system uses instead of scaling up a smaller version of the icon.</p> + +<p class="note"><strong>Note:</strong> the <code>drawable-xxxhdpi</code> qualifier is necessary only +to provide a launcher icon that can appear larger than usual on an xxhdpi device. You do not need to +provide xxxhdpi assets for all your app's images.</p> + +<p>See <a href="{@docRoot}guide/practices/screens_support.html">Supporting Multiple Screens</a> for +more information.</p> + + <h3>Remove unnecessary metadata from final assets</h3> <p>Although the Android SDK tools will automatically compress PNGs when packaging |