How to design a layout for 1080*1920 pixel screens? Which layout folder works for Samsung galaxy S4?

混江龙づ霸主 提交于 2019-12-03 09:14:32

If you want to have a layout for your S4, you need to use the values-sw360dp folder.

The conversion is like this: px * 160 / dpi. In your case: 1080 * 160 / 480 = 360.

But anyway, your layout should work on all devices, not only the S4.

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