Android: Designing Different Icons for Screen Densities

后端 未结 1 1605
不知归路
不知归路 2021-01-11 11:16

I know it\'s good practice to design different menu icons for different screen densities. I read that the preferred size for the different densities are:

  • 36 X
1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-11 11:48

    The benefit of having different icons is that you have control over the final appearance, rather than allowing an algorithm to munge your image. Few scaling algorithms are able to maintain quality when reducing an image's dimensions, especially for complex icons.

    Be sure to read Android's scaling rules, and also this page has an excellent investigation into image scaling and its effects on the final image.

    0 讨论(0)
提交回复
热议问题