Android Android software is among the most divisive issue of concern was undoubtedly one of the different screen sizes. Resolution for each phone is different from the software need to accurately calculate the design icons, photographs, video games and other background and dialog space. But Google said that it has a fundamental solution to the Palm software that has plagued the resolution of personnel issues.
In fact, as early as before the first Android phone market, Google has introduced a solution that not only solved the problem of different pixel resolution, but also solve the problem of pixel density, pixel density means the number of pixels per inch. Android Hack the structural engineer Diane (Diane Hackborn) Google + described in the company philosophy:
We solve the problem of motivation comes from the display resolution Palm / PalmSource experience. Palm devices traditionally used 160x160 display. Initially, Sony introduced the 320x320 screen, just double the size of the application can coordinate, software personnel can still see themselves as operating on a 160x160 screen, the operating system through the conversion and use of high-resolution display sharper text and drawing.
But then the policy in the event of QVGA [320x240] display problems when As QVGA [320x240] screen for a lot of equipment, lower production costs. The writing area in the bottom of the display, the application is still required to obtain the expected space. However, the density in 160x160 and 320x320, between 1.5 times zoom ratio, the problem arises.
1.5 times the target size scaling, the original solid line will be different because of the actual screen resolution, there are different degrees of dark spots.
To solve the Android screen size and resolution faces challenges, independent of the operating system uses the pixel density (abbreviated as dp or dip) program.
Android for the display resolution of a large number of proposed solutions with the layout tool. Meridian Apps software personnel (Nick Farina) said in a blog: "Once the software tools to master the layout, they can when in portrait layout / graphic devices in different directions and automatically adjust the screen size."
Android engineers Luomangaiyi (Romain Guy) said: "If you bid out of the button in the application for the 100 pixel width, the button in 640x480 pixel 320x480 pixel device, the device seems to be relatively much smaller now, if you The width of the button labeled 100dip, the button size in the two devices look the same. "
In theory, Android solution for any pixel density. For convenience, Google worked out some of the major counts: the provisions of 1ldpi = 120dpi, 1mdpi = 160 dpi, 1hdpi = 240 dpi, 1xhdpi = 320 dpi. To promote this program, Google urged DPI display software available for different personnel resources to ensure its application in either a device look more beautiful.
This requires coders and graphic designers to do some advance work. Haq said this, do the work in advance will ensure that the software can adapt well to Galaxy Nexus and 316dpi, 1280x720 display.
The Hack said: "The Android and its applications to run on the Galaxy Nexus was very good."
Android solution is very flexible. Of course, Google Android from the outset positioned as a manufacturer for many operating systems. Apple iPhone is the situation different, Apple has been firmly in control of the iPhone.
IOS software personnel pay close attention to every pixel. iPhone 4 after the advent of the display resolution from 480x320 up to 960x640. A large number of indications that Apple will be the next generation iPad display resolution of 1024x768 resolution, first generation iPad increased to 2048x1536.



0 comments:
Post a Comment