1. Screen Related concepts1.1 ResolutionIt means how many pixels are there on the screen.1.2 Screen SizeRefers to the actual physical size of the phone, such as the usual 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inchAndroid divides the screen s
is 360px, but the horizontal direction of the number of pixels reached 720, the pixel is the smallest display color units, that is, a 1px inside the horizontal direction of two pixels.
3.rem
REM is a unit of CSS, the HTML style in the Font-size value of 1rem, we generally have the screen width of 1/10 as 1rem, such as the screen width of 375px, then 1rem=3
Now more and more large-screen computer equipment, 1920x1080 pixels and higher resolution of the screen makes the picture more delicate and beautiful, but the higher resolution of the large size screen will sometimes have some trouble, although the unit area can show more pixels, but each pixel area shrinks, The displa
1. Three types of sizes (size class)If the length and width of the screen are divided into three types (the official website becomes size Class): Compression (compact), arbitrary (any), general (Regular), then the long and wide combinations have 9 types. Here I refer to each of these types as a pattern.In addition, the state of the
Basic mobile phone resolution knowledge (DPI, DIP computing)
1. terms and concepts
Terms
Description
Remarks
Screen size)
It refers to the actual physical size of the mobile phone, such as the commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch
Motorola's milestone mobile phone is 3.7 inch
Aspect Ratio (width/height Ratio)
Excerpt from: http://blog.ibireme.com/2014/09/16/adapted_to_iphone6/Apple's website is designed to show that the ultra-high pixel density of the retina display has surpassed the range of human eyes to distinguish.What effect does retina have on image design (icons, splash screens and all other pixels)? If our app is to support retina, we need to provide high resolution (wide x2, high x2) images. Also, in order to support devices without retina, you still have to prepare a low-resolution version.
row of viewport meta tags.Viewport is the default width and height of the page, which means that the page width defaults to the screen width (width=device-width), the original scale (initial-scale=1) is 1.0, that is, the initial size of the page occupies 100% of the screen area.This setting is supported by all major browsers, including IE9. For those older brows
Transferred from: http://www.zcool.com.cn/article/ZNjI3NDQ=.html1. Understand several concepts(1) resolution. Resolution is the cell phone screen pixel points, generally described as the screen "wide x high", Android phone screen Common resolution has 480x800, 720x1280, 1080x1920 and so on. 720x1280 indicates that this screen
First, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard dpi (160PX/INC)
Resolution: The number of pixel points in 2 directions, co
first, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard dpi (160PX/INC)
Resolution: The number of pixel points in 2 directions,
There are more and more Windows Phone devices on the market, and the size and resolution are more and more, especially the WP8.1 era. The people who have done WP development know that application adaptation is actually more simple than Android, one of the important reasons is that Microsoft is claiming that all WP devices will be 2 benchmark resolution to develop, that is, 800:480 and 853:480. wp8+ application adaptation is relatively simple, mainly t
Top 10 practical Android skills: Obtain the physical size, density, and resolution of the screen.
Help me!
The blogger participated in the 2014 blog star event. You can vote for it! Click here!
It is very interesting to know the hardware situation through a program. I studied how to obtain the physical size of the screen
from://http://blog.csdn.net/ithomer/article/details/6688883Android to get the screen longer than the width, referring to the internet has a lot of code, but the results are inconsistent with the actual, such as my phone is i9000, the screen size is 480*800px, the results are 320*533The results are very unreliable, so I wrote a few lines of code, pro-TestTest para
Everybody help!Bloggers participate in 2014 blog star activities, we help vote! Punch here!It is a very interesting thing to know the hardware through the program. I studied the physical size of the screen on WM6.5, but it has not been successful. Later, I wanted to make a breakthrough on Android, but I didn't get the exact size before today. Although many people
Basic knowledge of mobile resolution (DPI,DIP calculation)
1. Terminology and concepts
Terms
Description
Note
Screen size (on-screen dimensions)
Refers to the actual physical size of the phone, such as 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inch
Motorola Milestone mobile phone is 3.
I've written earlier how to optimize images under the retina screen.
How to optimize the image under the Retina screen from CSS3 's background-size, this paper introduces the method of Background-size attribute usage, then goes to the point, and introduces the image optimization under the retina
Obtains the screen size except the taskbar height (width ).
Type rectLeft as longTop as longRight as longBottom as longEnd type
Private declare function findwindow lib "USER32" alias "find0000wa" (byval lpclassname as string, byval lpwindowname as string) as longPrivate declare function getwindowrect lib "USER32" (byval hwnd as long, byref lprect as rect) as Boolean
Public sub XX () 'gets the
PX (pixel) pixels, that is, the display point on the screen, in (inch) inch, per inch = 2.54 cm, we often say that a few inches of mobile phones, refers to the phone screen diagonal is a few inch, dpi (dots per inch) the number of pixels, 320x480 screen, If the width is 1 inches, the horizontal dpi is 320/1 (wide), and if the height is 1.5, the vertical dpi is 48
Explanation of dpi/screen-size on androidAndroid defines four screen-size: small normal large xlarge and six dpi levels: ldpi (low )~ 120 dpimdpi (medium )~ 160 dpihdpi (high )~ 240 dpixhdpi (extra-high )~ 320 dpixxhdpi (extra-high )~ 480 dpixxxhdpi (extra-high )~ 640 dpi defines these levels to better organize resourc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.