diff options
| author | Scott Rowe <scottrowe@google.com> | 2014-07-23 16:10:41 -0700 |
|---|---|---|
| committer | Scott Rowe <scottrowe@google.com> | 2014-08-08 14:06:22 -0700 |
| commit | 64f54c6502f23b2e71f9b0c7789d7ff17c5dfc35 (patch) | |
| tree | 0faca9685d2a20a599b5d9bdcc98748193affe98 /docs/html/design/style | |
| parent | 813642158979aca52b9d3913e52dda877d74a992 (diff) | |
| download | frameworks_base-64f54c6502f23b2e71f9b0c7789d7ff17c5dfc35.zip frameworks_base-64f54c6502f23b2e71f9b0c7789d7ff17c5dfc35.tar.gz frameworks_base-64f54c6502f23b2e71f9b0c7789d7ff17c5dfc35.tar.bz2 | |
docs: b/15790433 updated for xxhdpi and xxxhdpi
Change-Id: I49be7a0313d9aa5ff6c7dd0ca2ffb7802dc567e5
Diffstat (limited to 'docs/html/design/style')
| -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 4559f00a7..ec7638d 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 |
