Must-Have Charts for Mobile Development
Mobile device resolution
The development process is inseparable from UI drawing , so it is natural to understand concepts such as px, dpi, dp, and sp.
I was in the process of developing adaptive layout of horizontal and vertical screens, and suddenly thought that if I have a certain understanding of the size and resolution of each test machine/tablet, it will definitely help to adjust the layout, fragments, controls, and the proportion and position of various resources.
Not much to say, refer to the existing information on the Internet and organize it as follows.
Android-Android
Apple-iphone
Need to pick up~
Refer to the blog post
for the size of an Apple phone
Refer to Baidu's library for the size of
an Android phone