Andro with basic knowledge

Source: Internet
Author: User

Basic concepts: screen resolution, screen size, screen density

screen Resolution: The number of pixels on a horizontal portrait, generally vertical pixels * transverse pixels, such as 1920*1080

Screen pixel density: pixel points per inch

The screen pixel density is related to screen size and screen resolution, and is calculated as follows:

Nexus 5

Screen:4.95inch

resolution 1920*1080

screen pixel density DPI = Diagonal pixel / screen size = √(1920^2+1080^2)/4.95 = 445

Different pixel densities:

MDPI 120~160

HDPI 160~240

XHDPI 240~320

XXHDPI 320~480

XXXHDPI 480~640

Andro with basic knowledge

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.