(situee's blog) | Density | Screen Size | Resolution |
Samsung GalaxyTab 7 | hdpi | 7" large | 1024 x 600 |
Motorola Xoom | mdpi | 10.1" xlarge | 1280 x 800 |
So GalaxyTab uses "-large-hdpi"; XOOM uses "-xlarge-mdpi";
If you want to know the screen size and density of the new Galaxy Note check this post http://situee.blogspot.com/2013/01/galaxy-note-2-screen-specifications.html
You might also want to use resolution qualifier to differentiate the two.
go and check this post Resolution Qualifier of Layout Drawable for Android
If you want to know more about Android layout/drawable scaling,
go to this post Pre-scaling, Auto-Scaling and Screen Density
Small screen | QVGA (240x320) | 480x640 | ||
---|---|---|---|---|
Normal screen | WQVGA400 (240x400) WQVGA432 (240x432) | HVGA (320x480) | WVGA800 (480x800) WVGA854 (480x854) 600x1024 | 640x960 |
Large screen | WVGA800** (480x800) WVGA854** (480x854) | WVGA800* (480x800) WVGA854* (480x854) 600x1024 | ||
Extra Large screen | 1024x600 | WXGA (1280x800)† 1024x768 1280x768 | 1536x1152 1920x1152 1920x1200 | 2048x1536 2560x1536 2560x1600 |
* To emulate this configuration, specify a custom density of 160 when creating an AVD that uses a WVGA800 or WVGA854 skin. ** To emulate this configuration, specify a custom density of 120 when creating an AVD that uses a WVGA800 or WVGA854 skin. † This skin is available with the Android 3.0 platform |
Hi, interesting post but how can you asure that Samsung GalaxyTab 7 is hdpi?
ReplyDeleteHi. It's from the official blog of android developers.
Deletehttp://android-developers.blogspot.com/2010/09/screen-geometry-fun.html
"In this context, the Samsung has another little surprise: If you do the arithmetic, its screen has 170 DPI, which is far from the densest among Android devices. Still, it declares itself as “hdpi” (and as having a “large” screen size). The reason is simple: It looks better that way."
"...the Galaxy Tab’s screen is at the large end of “large”, so declaring it as high-density applies a useful compensation."