Alibabacloud.com offers a wide variety of articles about battlefront 2 screen resolution, easily find your battlefront 2 screen resolution information here online.
One, commonly used units: relative units mainly: PX, SP, DPabsolute units mainly include: PT, in, MM
Second, the Unit application summary: The general use relative unit, but not absolute unit1, the size of the general use of the SP, the font of this unit can be set according to the user font size and automatic scaling
2, space and other relative distances generally use DP (DIP), with the density changes, the corresponding number of pixels also chang
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
MediumScreen size and density comparison table: ...Android:smallscreens= "true"Android:normalscreens= "true"Android:largescreens= "true"Android:xlargescreens= "true"Android:anydensity= "true"/>3, scaling of bitmap resourcesWhen scaling a bitmap resource, take full account of the device's height and width, and get the device's height and width code as it runs:
1 2 3 4
WindowManager mwmgrmwmgr = (windowmanager) context.getsystemser
This article will describe a simple and effective unity2d multi-resolution screen adaptation scheme, which is suitable for unity2d games based on native development, that is, without the use of third-party 2D plug-ins, such as UNI2D,2D Toolkit and other developed games, Ngui plug-ins are not affected by this scheme. Can be used perfectly with this solution.---------------------------------------the beginnin
This article will describe a simple and effective unity2d multi-resolution screen adaptation scheme, which is suitable for unity2d games based on native development, that is, without the use of third-party 2D plug-ins, such as UNI2D,2D Toolkit and other developed games, Ngui plug-ins are not affected by this scheme. Can be used perfectly with this solution.---------------------------------------the beginnin
{1}", resolutionH/scaleFactor, resolutionW/scaleFactor);
7. Raw DPI
The actual number of points per inch on the X axis or Y axis of the screen. This value is closely related to the actual screen device and has two values respectively: rawdpix and rawdpiy:
// RawDpivar rawDpiX = DisplayInformation.GetForCurrentView().RawDpiX;var rawDpiY = DisplayInformation.GetForCurrentView().RawDpiY;RawDpi.Text = string.F
Recently wrote a lot of notebook related skills, including the relevant information, found that many netizens for some relatively simple skills are not very understanding. For example, what does the notebook screen resolution look like? This is a very simple notebook use tips, see a variety of methods, below for the small white students 2 methods of popular scien
Document directory
1: Main Screen Size
2: Mobile Phone size
1: pixel (PX)
2: Resolution resolution
3: density Density
4: DPI densitydpi
5: Dip (DP) device independent Pixel
Note: There is a formula
6: SP pixel Amplification
7:
1. Commonly Used units: the relative units are PX, SP, and DP.
Absolute unit: PT, In, mm
Ii. Unit Application Summary: Generally, relative units are used instead of absolute units.
1. the font size is generally sp. The font in this unit can be scaled automatically based on the font size you set.
2. relative distances such as space generally use dp (DIP). As the density changes, the number of corresponding pixels also changes, but there is no direct re
account this factor, such as the whole station should be the size of the big point and so on.
2) Layout
The layout of a Web page does not have a uniform definition in the strictest sense.
The page layout can be broadly divided into "country" font, corner type, title body type, left-right frame type, upper and lower frame type, comprehensive frame type, cover type, flash type, changeable type.
About the first
1. Commonly Used units: the relative units are px, sp, and dp.Absolute unit: pt, in, mm
Ii. Unit Application Summary: Generally, relative units are used instead of absolute units.1. the font size is generally SP. The font in this unit can be scaled automatically based on the font size you set.
2. relative distances such as space generally use dp (dip). As the density changes, the number of corresponding pixels also changes, but there is no direct rela
different resolutions can be provided based on the current screen density. Official tips: if a set of images are provided, at least a higher resolution and high density bitmap is provided, rather than a medium density design bitmap.
How to support multiple screens
The official statement ensures that the system has done a lot of work to adapt to multiple screens, but we also need to do some work to better h
Transferred from: http://www.cnblogs.com/flyFreeZn/p/4073655.html
This article will describe a simple and effective unity2d multi-resolution screen adaptation scheme, which is suitable for unity2d games based on native development, that is, without the use of third-party 2D plug-ins, such as UNI2D,2D Toolkit and other developed games, Ngui plug-ins are not affected by this scheme. Can be used perfectly with
do not pay much attention to the wide screen resolution supported by integrated graphics cards, so they have not updated the BIOS. What should I do if I encounter such a problem? You can use CBROM to create one by yourself. For ease of operation, I renamed them old. Bin (wide screen resolution not supported) and new.
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:
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: T
implementation method is as follows:
@Override public
void onconfigurationchanged (Configuration newconfig) {
super.onconfigurationchanged ( Newconfig);
if (This.getresources (). GetConfiguration (). Orientation = Configuration.orientation_landscape) {
//land do Nothing is OK
} else if (This.getresources (). GetConfiguration (). Orientation = = Configuration.orientation_portrait ) {
//port do no is OK
}
}
2, different
resolutions in sequence.Qvga(Quarter VGA): The resolution is 240x320 pixels, which is the most common resolution level for smartphones. 240 ×320 pixels means that there are 240 pixel points in each row on the phone screen horizontally, and 320 pixel points in each column vertically. The multiplication is 320 × 240 =76800 pixels. Most early smartphones used this
/MainActivity﹕ the screen size is Point(800, 1202)D/MainActivity﹕ the screen real size is Point(800, 1280)
If you cannot reproduce it easily, you don't need to worry about it. For the sake of insurance, use getRealSize () to obtain the correct information.
2. screen size the physical
screen sizes, and their logical resolution is different.Physical resolution: The maximum number of pixels that can be displayed on the LCD screen, that is, how many light emitting elements are contained in a screen. A screen of t
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.