android - What actual viewport size are the Samsung S6 and Samsung S7 mobile phones? -


i trying optimise latest , newest samsung models.

for s5 display 1080x1920 432 dpi resolution, 3dppx. translates 360x640w viewport.

is there way work out viewport if have display , resolution details only?

it depends on browser user's using.

chrome frame consumes around 60px, given status bar 25px, can assume have 85px less actual size.

i recommend using javascript window.innerheight proper measurement.

sources: - https://mydevice.io/devices/ - height of status bar in android


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -