Tutorial :How big is an android phone's screen?



Question:

How big is the smallest motorola android's screen, in pixels? I want to know what size I need to make my graphic without it being too distorted by the fill_parent.


Solution:1

motorola droid's display size is 480x854 px, according to specs, so it's rather non-standard


Solution:2

Although this doesn't directly answer your question..

Android is the name of the operating system running on Android phones. Different phone models could have different resolutions and pixel densities. Therefore you have to be careful not to hardcode resolution values into your code. It might run well on one phone but poorly on another.

Check out these pages for details about supporting different screens:

http://developer.android.com/guide/practices/screens_support.html http://developer.android.com/resources/dashboard/screens.html


Solution:3

It would be unwise to program for one screen size, especially if you plan on distributing your application later. You should design your application for as many screen sizes as possible.

Instead use nine-patch images and flexible layouts. If you are designing an icon, the look at the android icon design guidelines and consider high, medium and low density screens. There are different resource folders for these too and android takes care of selecting the appropriate one for the current device.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »