summaryrefslogtreecommitdiffstats
path: root/docs/html/training
diff options
context:
space:
mode:
authorRich Slogar <rslogar@google.com>2015-02-17 22:08:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-17 22:08:42 +0000
commit40132ee15afbc45858b637410aecb861da60878a (patch)
tree56a5a696a8d195f96c7b2e87c18162ef75df627f /docs/html/training
parent3c3b780caea0bec62904a83f385f5a865fb259a7 (diff)
parent69223702e4aa248791f0a0d858f8225d41ee67ef (diff)
downloadframeworks_base-40132ee15afbc45858b637410aecb861da60878a.zip
frameworks_base-40132ee15afbc45858b637410aecb861da60878a.tar.gz
frameworks_base-40132ee15afbc45858b637410aecb861da60878a.tar.bz2
Merge "docs: site mipmap folder updates" into lmp-docs
Diffstat (limited to 'docs/html/training')
-rw-r--r--docs/html/training/multiscreen/screendensities.jd23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/html/training/multiscreen/screendensities.jd b/docs/html/training/multiscreen/screendensities.jd
index fcb65cc..1fc5904 100644
--- a/docs/html/training/multiscreen/screendensities.jd
+++ b/docs/html/training/multiscreen/screendensities.jd
@@ -28,6 +28,7 @@ next.link=adaptui.html
<ul>
<li><a href="{@docRoot}guide/practices/screens_support.html">Supporting Multiple Screens</a></li>
+ <li><a href="{@docRoot}design/style/iconography.html">Iconography</a></li>
<li><a href="{@docRoot}guide/practices/ui_guidelines/icon_design.html">Icon Design
Guidelines</a></li>
</ul>
@@ -133,6 +134,28 @@ MyProject/
<p>Then, any time you reference <code>&#64;drawable/awesomeimage</code>, the system selects the
appropriate bitmap based on the screen's dpi.</p>
+<p>Place your launcher icons in the <code>mipmap/</code> folders. </p>
+
+<pre>res/...
+ 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 class="note"><strong>Note:</strong> You should place all launcher icons in the
+<code>res/mipmap-[density]/</code> folders, rather than <code>drawable/</code> folders to ensure
+launcher apps use the best resolution icon. For more information about using the mipmap folders, see
+<a href="{@docRoot}tools/project/index.html#mipmap">Managing Projects Overview</a>.</p>
+
<p>For more tips and guidelines for creating icon assets for your application, see the <a
href="{@docRoot}guide/practices/ui_guidelines/icon_design.html">Icon Design
Guidelines</a>.</p>