How does density value calculate in android -


can explain me formula android use calculate screen density? waiting responds)))

density can calculated following formula:

density = sqrt((wp * wp) + (hp * hp)) / di 

where:

wp width resolution in pixels,

hp height resolution in pixels, and

di diagonal size in inches.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -