Question

I cannot find the real device-width of the Samsung Galaxy Note II for web browsers, I found 3 different values as 320px, 480px and 640px but I'm not able to know which is the correct one.

By the way I found on Wikipedia the list of displays by pixel density but no device-width...

Edit: I'm looking for the web device-width declared in the mobile browser (viewport).

Était-ce utile?

La solution

hey i have a note 2 and i got the width from DisplayMetrics and it says it is 720 pixels and height is 1280 pixels

Autres conseils

Have you seen this.?

http://developer.android.com/guide/practices/screens_support.html

They are

xlarge screens are at least 960dp x 720dp

large screens are at least 640dp x 480dp

normal screens are at least 470dp x 320dp

small screens are at least 426dp x 320dp

If you want to find it out programmatically just check out this question. Get screen dimensions in pixels

If not, you could ask over here: https://android.stackexchange.com/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top