codeuniv

Android Image Resolution

Nov 1st, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. ldpi mdpi hdpi xhdpi xxhdpi xxxhdpi
  2. Launcher And Home 36*36 48*48 72*72 96*96 144*144 192*192
  3. Toolbar And Tab 24*24 32*32 48*48 64*64 96*96 128*128
  4. Notification 18*18 24*24 36*36 48*48 72*72 96*96
  5. Background 240*320 320*480 480*800 768*1280 1080 *1920 1440*2560
  6.  
  7.  
  8. ldpi (low) ~120dpi
  9. mdpi (medium) ~160dpi
  10. hdpi (high) ~240dpi
  11. xhdpi (extra-high) ~320dpi
  12. xxhdpi (extra-extra-high) ~480dpi
  13. xxxhdpi (extra-extra-extra-high) ~640dpi ( ALMOST NEER USED! USE ONLY FOR launcher icon. )
  14.  
  15. Android apps should provide 6 image sizes: ldpi (0.75x), mdpi (1.0x), hdpi (1.5x), xhdpi (2.0x), xxhdpi (3.0x), and xxxhdpi (4.0x).
  16.  
  17. ВСЕ ОЧЕНЬ ПРИМЕРНО, Т.К. xhdpi - РАЗНЫЙ НА РАЗНЫХ УСТРОЙСТВАХ:
  18. https://material.io/resources/devices/
  19.  
  20. https://stackoverflow.com/questions/13024272/android-background-image-size-in-pixel-which-support-all-devices/40255870#40255870
  21.  
  22. Full-Screen
  23. LDPI:
  24. Portrait: 200x320px
  25. Landscape: 320x200px
  26. MDPI:
  27. Portrait: 320x480px
  28. Landscape: 480x320px
  29. HDPI:
  30. Portrait: 480x800px
  31. Landscape: 800x480px
  32. XHDPI:
  33. Portrait: 720px1280px
  34. Landscape: 1280x720px
  35.  
  36.  
  37. Display 5.00-inch (720x1280)
  38. OS Android (v.7.0 = API Level 24) - Android Nougat (2016)
  39.  
  40. https://source.android.com/setup/start/build-numbers
  41. version, API level
  42.  
  43. https://developer.android.com/about/dashboards
  44. растпространенность разных экранов
Add Comment
Please, Sign In to add comment