diff options
| author | Rich Slogar <rslogar@google.com> | 2015-02-18 00:25:16 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-18 00:25:16 +0000 |
| commit | 9f807e7ef2793e02b592afa33d73633bb9343c4c (patch) | |
| tree | 0756b09b6296185b4af46613f1653cb0e240f2bc /docs/html/design | |
| parent | 2740233048452a10f5eebd0117e7c598faa65c80 (diff) | |
| parent | 6de1fd98f73b94c8bd5508b3e3d419d0b5d19621 (diff) | |
| download | frameworks_base-9f807e7ef2793e02b592afa33d73633bb9343c4c.zip frameworks_base-9f807e7ef2793e02b592afa33d73633bb9343c4c.tar.gz frameworks_base-9f807e7ef2793e02b592afa33d73633bb9343c4c.tar.bz2 | |
am 6de1fd98: am 502f303c: am d72bea9d: am 40132ee1: Merge "docs: site mipmap folder updates" into lmp-docs automerge: 797c989
* commit '6de1fd98f73b94c8bd5508b3e3d419d0b5d19621':
docs: site mipmap folder updates
Diffstat (limited to 'docs/html/design')
| -rw-r--r-- | docs/html/design/style/iconography.jd | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/docs/html/design/style/iconography.jd b/docs/html/design/style/iconography.jd index d212b06..1a92753 100644 --- a/docs/html/design/style/iconography.jd +++ b/docs/html/design/style/iconography.jd @@ -516,23 +516,41 @@ application: </p> <em>finished_asset</em>.png drawable-xxhdpi/... <em>finished_asset</em>.png + + mipmap-ldpi/... + <em>finished_launcher_asset</em>.png + mipmap-mdpi/... + <em>finished_launcher_asset</em>.png + mipmap-hdpi/... + <em>finished_launcher_asset</em>.png + mipmap-xhdpi/... + <em>finished_launcher_asset</em>.png + mipmap-xxhdpi/... + <em>finished_launcher_asset</em>.png + mipmap-xxxhdpi/... + <em>finished_launcher_asset</em>.png </pre> <p>For more information about how to save resources in the application project, see <a href="{@docRoot}guide/topics/resources/providing-resources.html">Providing Resources</a>. </p> +<p> For more information about using the mipmap folders, see +<a href="{@docRoot}tools/project/index.html#mipmap">Managing Projects Overview</a>.</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 +<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 +less crisp. So you should provide a higher density launcher icon in the <code>mipmap-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 class="note"><strong>Note:</strong> The <code>mipmap-xxxhdpi</code> qualifier is necessary +only to provide a launcher icon that can appear larger than usual on an xxhdpi device. It is best +practice to place all your launcher icons in the <code>res/mipmap-[density]/</code> folders. This +enables your app to display launcher icons that have a higher density than the device, without +scaling up a lower density version of the icon. 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> |
