Android Design Cheatsheet Holo-Time
Android Design Cheatsheet Holo-Time
Content
1. Dimensions
1. Screen densities and icon dimensions
2. Google Play asset dimensions
3. Dimension units
4. Size buckets
5. Views dimensions and spacing
6. Action bar height
7. Text size
2. Images and themes
1. Nine-patch
2. Colors
3. Holo themes
3. Naming conventions
1. Naming conventions for drawables
2. Naming conventions for icon assets
3. Naming conventions for selector states
4. Organizing drawables to directories
4. Resources
1. Graphic generators
2. Useful links for designers
3. Download
5. Written by
Dimensions
Screen densities and icon dimensions
Action
Scaling Launcher Notification Notification Notification
Qualifier DPI bar, tab
factor icon icon (API 11) icon (API 9) icon (older)
icon
36 x 36 24 x 24 18 x 18 12 x 19 19 x 19
ldpi 120 0.75
32 x 32 18 x 18 16 x 16 12 x 12 16 x 16
48 x 48 32 x 32 24 x 24 16 x 25 25 x 25
mdpi 160 1.0
42 x 42 24 x 24 22 x 22 16 x 16 21 x 21
72 x 72 48 x 48 36 x 36 24 x 38 38 x 38
hdpi 240 1.5
64 x 64 36 x 36 33 x 33 24 x 24 32 x 32
96 x 96 64 x 64 48 x 48 32 x 50 50 x 50
xhdpi 320 2.0
84 x 84 48 x 48 44 x 44 32 x 32 42 x 42
144 x 144 96 x 96 72 x 72 48 x 75 75 x 75
xxhdpi 480 3.0
126 x 126 72 x 72 66 x 66 48 x 48 63 x 63
Notice: the first icon dimension in table cell is full asset size, the second icon dimension is optical square.
Dimension values are in pixels.
Tip: creating ldpi assets is not really needed anymore. The devices are rare and the platform will just scale down
mdpi.
Sources and useful links: Iconography, Supporting Multiple Screens, Icon Design Guidelines, Dimension
1 of 6 6/21/19, 8:23 PM
Android Cheatsheet for Graphic Designers http://petrnohejl.github.io/Android-Cheatsheet-F...
Sources and useful links: Graphic and Image Assets, Google Play Featured-Image Guidelines, Iconography
Dimension units
Unit Units / physical inch Density independent Same physical size on every screen
px varies no no
in 1 yes yes
mm 25.4 yes yes
pt 72 yes yes
dp ~160 yes no
sp ~160 yes no
Size buckets
Type Dimension
Handset smaller than 600 dp
Tablet larger than or equal 600 dp
2 of 6 6/21/19, 8:23 PM
Android Cheatsheet for Graphic Designers http://petrnohejl.github.io/Android-Cheatsheet-F...
Qualifier Dimension
Portrait 48 dp
Landscape 40 dp
Tablet 56 dp
Text size
Type Dimension
Micro 12 sp
Small 14 sp
Medium 18 sp
Large 22 sp
Notice: one sp (scale-independent pixel) is one pixel on a 160 DPI screen if the user's global text scale is set to
3 of 6 6/21/19, 8:23 PM
Android Cheatsheet for Graphic Designers http://petrnohejl.github.io/Android-Cheatsheet-F...
100%.
Sources and useful links: Canvas and Drawables, Draw 9-patch, Simple Nine-patch Generator
Colors
Use color primarily for emphasis. Blue is the standard accent color in Android's color palette. Note that red and green
may be indistinguishable to color-blind users. Primary colors are as follows:
Holo themes
Android provides three system themes:
Holo Light
Holo Dark
Holo Light with dark action bar
Naming conventions
4 of 6 6/21/19, 8:23 PM
Android Cheatsheet for Graphic Designers http://petrnohejl.github.io/Android-Cheatsheet-F...
Drawables for the specific views (ListView, TextView, EditText, ProgressBar, CheckBox etc.) should be named like
this views keeping the naming rules, e.g. drawable for CheckBox should be named "checkbox_on_bg.png".
Sources and useful links: naming conventions taken from the Android SDK
res
drawable-ldpi
drawable-mdpi
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
5 of 6 6/21/19, 8:23 PM
Android Cheatsheet for Graphic Designers http://petrnohejl.github.io/Android-Cheatsheet-F...
Resources
Graphic generators
Android Asset Resizer
Android Asset Studio
Android Button Maker
Android Holo Colors IntelliJ Plugin
Device Art Generator
Google Play Badges
Download
Written by
Copyright © 2013 Petr Nohejl, www.petrnohejl.cz
Found some mistake? Something is missing? Let me know or send pull request.
Thanks to Peter Kahoun for KUCSS and Google Android for great documentation.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
6 of 6 6/21/19, 8:23 PM