Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Screen sizes

I need to know the screen sizes of android devices to support multiple screen sizes application.

like image 528
FAFI Avatar asked Jun 03 '11 19:06

FAFI


People also ask

How do I deal with different screen sizes on Android?

Use “wrap_content” and “match_parent” To ensure that your layout is flexible and adapts to different screen sizes, you should use "wrap_content" and "match_parent" for the width and height of some view components.

What is the standard mobile screen size?

There are at least 6 leading screen resolutions including 480×800, 640×1136, 720×1280, 750×1334, 1080×1920, and 1440×2560. The largest screen resolution in a mainstream smartphone is the massive 2160×3840 (4K) screen used by the Sony Xperia Z5 Premium.


2 Answers

Look at this table: http://developer.android.com/guide/practices/screens_support.html#testing

You can use the pie chart here to have an idea of relative screen size usage: http://developer.android.com/resources/dashboard/screens.html

For a list of screen sizes, resolutions and dpi values, take a look at: http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density

To calculate the real dpi value, check here: http://en.wikipedia.org/wiki/Pixel_density#Calculation_of_monitor_PPI

like image 64
Aleadam Avatar answered Nov 16 '22 00:11

Aleadam


I don't think there's a comprehensive list of all existing screen sizes, since new devices are coming out all the time. Have you seen the page on Screen Sizes and Densities and the documentation on Supporting Multiple Screens?

like image 27
Ted Hopp Avatar answered Nov 16 '22 02:11

Ted Hopp