Skip to content

Instantly share code, notes, and snippets.

@sheerazam
Created April 11, 2016 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheerazam/5cda61ac590faf7f518453f0e3e74420 to your computer and use it in GitHub Desktop.
Save sheerazam/5cda61ac590faf7f518453f0e3e74420 to your computer and use it in GitHub Desktop.
ldpi (low) ~120dpi
Multiply ( Mdpi * 0.75 )
mdpi (medium) ~160dpi
hdpi (high) ~240dpi
Multiply ( Mdpi * 1.5 )
xhdpi (extra-high) ~320dpi
Multiply ( Mdpi * 2 )
xxhdpi (extra-extra-high) ~480dpi
Multiply ( Mdpi * 3 )
xxxhdpi (extra-extra-extra-high) ~640dpi
Multiply ( Mdpi * 4 )
http://developer.android.com/design/style/metrics-grids.html
Use vector icons
Design other drawable resources
http://stackoverflow.com/questions/11581649/about-android-image-size-and-assets-sizes
Use Export Layer for Android
https://github.com/rfreedman/Export-Photoshop-Layer-For-Android/blob/master/Export%20Layer%20for%20Android.jsx
Tips:
Export Assets from XXHDPI ( @480dpi ) Photoshop File
Use MDPI ( @160dpi ) for Creating screens
1px = 1 dp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment