Home | History | Annotate | Download | only in style
      1 page.title=Iconography
      2 @jd:body
      3 
      4 <img src="{@docRoot}design/media/iconography_overview.png">
      5 
      6 <p>An icon is a graphic that takes up a small portion of screen real estate and provides a quick,
      7 intuitive representation of an action, a status, or an app.</p>
      8 
      9 
     10 
     11 <h2 id="launcher">Launcher</h2>
     12 
     13 <p>The launcher icon is the visual representation of your app on the Home or All Apps screen. Since the
     14 user can change the Home screen's wallpaper, make sure that your launcher icon is clearly visible on
     15 any type of background.</p>
     16 
     17 <div class="layout-content-row">
     18   <div class="layout-content-col span-4">
     19 
     20     <img src="{@docRoot}design/media/iconography_launcher_size.png">
     21 
     22   </div>
     23   <div class="layout-content-col span-4">
     24 
     25     <img src="{@docRoot}design/media/iconography_launcher_focal.png">
     26 
     27   </div>
     28   <div class="layout-content-col span-4">
     29 
     30     <img src="{@docRoot}design/media/iconography_launcher_style.png">
     31 
     32   </div>
     33 </div>
     34 
     35 <div class="layout-content-row">
     36   <div class="layout-content-col span-4">
     37 
     38     <h4>Sizes &amp; scale</h4>
     39 
     40     <ul>
     41       <li class="no-bullet with-icon tablet">
     42         <p>Launcher icons on a mobile device must be <strong>48x48 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
     43       <li class="no-bullet with-icon web">
     44         <p>Launcher icons for display on Google Play must be <strong>512x512 pixels</strong>.</p></li>
     45     </ul>
     46 
     47   </div>
     48   <div class="layout-content-col span-4">
     49 
     50     <h4>Proportions</h4>
     51 
     52     <ul>
     53       <li class="no-bullet with-icon tablet">
     54         <p>Full asset, <strong>48x48 dp</strong></p>
     55       </li>
     56     </ul>
     57 
     58   </div>
     59   <div class="layout-content-col span-4">
     60 
     61 <h4>Style</h4>
     62 <p>Use a distinct silhouette. Three-dimensional, front view, with a slight perspective as if viewed
     63 from above, so that users perceive some depth.</p>
     64 
     65   </div>
     66 </div>
     67 
     68 
     69 <div class="layout-content-row">
     70   <div class="layout-content-col span-4">
     71     &nbsp;
     72   </div>
     73   <div class="layout-content-col span-7">
     74 
     75     <img src="{@docRoot}design/media/iconography_launcher_example.png">
     76 
     77   </div>
     78   <!-- 2 free columns -->
     79 </div>
     80 
     81 <div class="layout-content-row">
     82   <div class="layout-content-col span-12">
     83 
     84     <img src="{@docRoot}design/media/iconography_launcher_example2.png">
     85 
     86     <div class="vspace size-2">&nbsp;</div>
     87 
     88   </div>
     89   <!-- 1 free columns -->
     90 </div>
     91 
     92 
     93 <h2 id="action-bar">Action Bar</h2>
     94 
     95 <p>
     96 
     97 Action bar icons are graphic buttons that represent the most important actions people can take
     98 within your app. Each one should employ a simple metaphor representing a single concept that most
     99 people can grasp at a glance.
    100 
    101 </p>
    102 <p>
    103 
    104 Pre-defined glyphs should be used for certain common actions such as "refresh" and "share." The
    105 download link below provides a package with icons that are scaled for various screen densities and
    106 are suitable for use with the Holo Light and Holo Dark themes. The package also includes unstyled
    107 icons that you can modify to match your theme, in addition to Adobe&reg; Illustrator&reg; source
    108 files for further customization.
    109 
    110 </p>
    111 <p>
    112 
    113 <a href="{@docRoot}downloads/design/Android_Design_Icons_20120229.zip">Download the Action Bar Icon Pack</a>
    114 
    115 </p>
    116 
    117 <div class="layout-content-row">
    118   <div class="layout-content-col span-4">
    119 
    120     <img src="{@docRoot}design/media/iconography_actionbar_size.png">
    121 
    122   </div>
    123   <div class="layout-content-col span-4">
    124 
    125     <img src="{@docRoot}design/media/iconography_actionbar_focal.png">
    126 
    127   </div>
    128   <div class="layout-content-col span-4">
    129 
    130     <img src="{@docRoot}design/media/iconography_actionbar_style.png">
    131 
    132   </div>
    133 </div>
    134 
    135 <div class="layout-content-row">
    136   <div class="layout-content-col span-4">
    137 
    138     <h4>Sizes &amp; scale</h4>
    139 
    140     <ul>
    141       <li class="no-bullet with-icon tablet">
    142         <p>Action bar icons for phones should be <strong>32x32 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
    143     </ul>
    144 
    145   </div>
    146   <div class="layout-content-col span-4">
    147 
    148     <h4>Focal area &amp; proportions</h4>
    149 
    150     <ul>
    151       <li class="no-bullet with-icon tablet">
    152         <p>Full asset, <strong>32x32 dp</strong></p>
    153         <p>Optical square, <strong>24x24 dp</strong></p>
    154       </li>
    155     </ul>
    156 
    157   </div>
    158   <div class="layout-content-col span-4">
    159 
    160 <h4>Style</h4>
    161 <p>Pictographic, flat, not too detailed, with smooth curves or sharp shapes. If the graphic is thin,
    162 rotate it 45&deg; left or right to fill the focal space. The thickness of the strokes and negative
    163 spaces should be a minimum of 2 dp.</p>
    164 
    165   </div>
    166 </div>
    167 
    168 
    169 <div class="layout-content-row">
    170   <div class="layout-content-col span-3">
    171 
    172 <h4>Colors</h4>
    173 <p>Colors: <strong>#333333</strong><br />
    174 Enabled: <strong>60%</strong> opacity<br />
    175 Disabled: <strong>30%</strong> opacity</p>
    176 <div class="vspace size-1">&nbsp;</div>
    177 
    178 <p>Colors: <strong>#FFFFFF</strong><br />
    179 Enabled: <strong>80%</strong> opacity<br />
    180 Disabled: <strong>30%</strong> opacity</p>
    181 
    182   </div>
    183   <div class="layout-content-col span-9">
    184 
    185     <img src="{@docRoot}design/media/iconography_actionbar_colors.png">
    186 
    187   </div>
    188 </div>
    189 
    190 
    191 <h2 id="small-contextual">Small / Contextual Icons</h2>
    192 
    193 <p>Within the body of your app, use small icons to surface actions and/or provide status for specific
    194 items. For example, in the Gmail app, each message has a star icon that marks the message as
    195 important.</p>
    196 
    197 
    198 <div class="layout-content-row">
    199   <div class="layout-content-col span-4">
    200 
    201     <img src="{@docRoot}design/media/iconography_small_size.png">
    202 
    203   </div>
    204   <div class="layout-content-col span-4">
    205 
    206     <img src="{@docRoot}design/media/iconography_small_focal.png">
    207 
    208   </div>
    209   <div class="layout-content-col span-4">
    210 
    211     <img src="{@docRoot}design/media/iconography_small_style.png">
    212 
    213   </div>
    214 </div>
    215 
    216 <div class="layout-content-row">
    217   <div class="layout-content-col span-4">
    218 
    219     <h4>Sizes &amp; scale</h4>
    220 
    221     <ul>
    222       <li class="no-bullet with-icon tablet">
    223         <p>Small icons should be <strong>16x16 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
    224     </ul>
    225 
    226   </div>
    227   <div class="layout-content-col span-4">
    228 
    229     <h4>Focal area &amp; proportions</h4>
    230 
    231     <ul>
    232       <li class="no-bullet with-icon tablet">
    233         <p>Full asset, <strong>16x16 dp</strong></p>
    234         <p>Optical square, <strong>12x12 dp</strong></p>
    235       </li>
    236     </ul>
    237 
    238   </div>
    239   <div class="layout-content-col span-4">
    240 
    241 <h4>Style</h4>
    242 <p>Neutral, flat, and simple. Filled shapes are easier to see than thin strokes. Use a single visual
    243 metaphor so that a user can easily recognize and understand its purpose.</p>
    244 
    245   </div>
    246 </div>
    247 
    248 
    249 <div class="layout-content-row">
    250   <div class="layout-content-col span-4">
    251 
    252     <img src="{@docRoot}design/media/iconography_small_colors.png">
    253 
    254     <div class="vspace size-2">&nbsp;</div>
    255 
    256 <h4>Colors</h4>
    257 <p>Use non-neutral colors sparingly and with purpose. For example, Gmail uses yellow in the star icon
    258 to indicate a bookmarked message. If an icon is actionable, choose a color that contrasts well with
    259 the background.</p>
    260 
    261   </div>
    262   <div class="layout-content-col span-7">
    263 
    264     <img src="{@docRoot}design/media/iconography_small_example.png">
    265 
    266   </div>
    267   <!-- 2 free columns -->
    268 </div>
    269 
    270 
    271 <h2 id="notification">Notification Icons</h2>
    272 
    273 <p>If your app generates notifications, provide an icon that the system can display in the status bar
    274 whenever a new notification is available.</p>
    275 
    276 
    277 <div class="layout-content-row">
    278   <div class="layout-content-col span-4">
    279 
    280     <img src="{@docRoot}design/media/iconography_notification_size.png">
    281 
    282   </div>
    283   <div class="layout-content-col span-4">
    284 
    285     <img src="{@docRoot}design/media/iconography_notification_focal.png">
    286 
    287   </div>
    288   <div class="layout-content-col span-4">
    289 
    290     <img src="{@docRoot}design/media/iconography_notification_style.png">
    291 
    292   </div>
    293 </div>
    294 
    295 <div class="layout-content-row">
    296   <div class="layout-content-col span-4">
    297 
    298     <h4>Sizes &amp; scale</h4>
    299 
    300     <ul>
    301       <li class="no-bullet with-icon tablet">
    302         <p>Notification icons must be <strong>24x24 <acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi screen.">dp</acronym></strong>.</p></li>
    303     </ul>
    304 
    305   </div>
    306   <div class="layout-content-col span-4">
    307 
    308     <h4>Focal area &amp; proportions</h4>
    309 
    310     <ul>
    311       <li class="no-bullet with-icon tablet">
    312         <p>Full asset, <strong>24x24 dp</strong></p>
    313         <p>Optical square, <strong>22x22 dp</strong></p>
    314       </li>
    315     </ul>
    316 
    317   </div>
    318   <div class="layout-content-col span-4">
    319 
    320 <h4>Style</h4>
    321 <p>Keep the style flat and simple, using the same single, visual metaphor as your launcher icon.</p>
    322 
    323   </div>
    324 </div>
    325 
    326 
    327 <div class="layout-content-row">
    328   <div class="layout-content-col span-4">
    329 
    330 <h4>Colors</h4>
    331 <p>Notification icons must be entirely white. Also, the system may scale down and/or darken the icons.</p>
    332 
    333   </div>
    334   <div class="layout-content-col span-7">
    335 
    336     <img src="{@docRoot}design/media/iconography_notification_example.png">
    337 
    338   </div>
    339   <!-- 2 free columns -->
    340 </div>
    341