android:pitfalls of deleting ldpi/mdpi folders

别说谁变了你拦得住时间么 提交于 2019-12-05 10:21:53

If you want to, go for it. Although not the best practice, if your application is quite conservative in terms of graphics then this may be a reasonable approach.

PROS:

  • Smaller .apk size
  • Easier to manage images (add/edit/remove)

CONS:

  • Images may be too high res or too low res for different screen resolutions.
  • If too high, images are scaled down on the fly which eats up processing power (+ unnecessary memory consumption).
  • If too low, images will lack detail and may look bad.
  • Lower-end devices have a lower memory cap (lowest being 16MB I think) - what may seem to work on your test device may not work on another (OutOfMemoryError!).

Update

If you want a quick way to make icons for all resolutions check out: Android Asset Studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!