is galaxy s10 (xxxhdpi) scaled 4x or 3.5x? - android

https://material.io/resources/devices/ (which is not maintained anymore) has
3.5x for xxxhdpi google pixel xl
4x for xxxhdpi galaxy s8
https://material.io/blog/device-metrics lists only 4x for xxxhdpi
https://reactnative.dev/docs/pixelratio lists only 3.5x for xxxhdpi
So it's very confusing, galaxy s10 has 550ppi and falls into xxxhdpi
Is it 3.5x scaled or 4x scaled?
Is it different depending on whether we are on native android or react-native android?

Related

Supporting different screens and Samsung s7 dpi

I've checked android's website about supporting multiple screens but I'm a little confused by dpi. I've a Samsung s7 (not the edge) and I test my app on it. I'm not sure if it's in the mdpi or hdpi group.
Thank you
you can use
float density = getResources().getDisplayMetrics().density; in your app.
and can check if the current device is mdpi, hdpi, xhdpi etc.
Here is link to official docs.
Samsung s7 is of 1440x2560 resolution, which is a xxxhdpi device.
Normally,
hdpi: 480X800
xhdpi: 720X1280
xxhdpi: 1080X1920
xxxhdpi: 1440X2560

Android: Are there xxxhdpi density devices?

Are there xxxhdpi density devices?
Android devices screen density increases (see https://github.com/paulvi/displayclasses) and there are already devices with density higher than xxhdpi (extra-extra-high) ~480dpi
like Samsung Galaxy S6 577 2560 1440
(But I cannot check if it is really xxxhdpi)
Is it time to prepare 192x192 icons?
(4x times 48x48 dp, see http://developer.android.com/design/style/iconography.html )
See also Android Official Icons for XXHDPI and XXXHDPI
UPDATE: Was asked a year before as Android xxx-hdpi real devices
Also Nexus 6 and Nexus 9 Screen density
Just for reference purpose, now Google maintain a list of devices density and other information at https://design.google.com/devices/ which is mainly targeted for material design guideline.
Are there xxxhdpi density devices?
Afaik Nexus 6 is xxxhdpi device
New phones already use XXXHDPI.
Our test phone Samsung S6 Edge use xxxhdpi drawable resources. Someone already mentioned that Nexus 6 also using this dimension. Thus new phones with good screen should use this dimension.
xxxhdpi density devices Resolutions :
2048x1536
2560x1536
2560x1600
In Nexus 6
For more help :
http://developer.android.com/guide/practices/screens_support.html
Actually, no, even as of 2016, there are still no xxxhdpi device.
The largest resolution on Android device is used by Xperia Z5 Premium (4k on 5.5", or roughly 806ppi), and even on that device, it was only used that humongous screen density for multimedia contents. The UI itself was rendered by halving the effective density by two, so it actually scales down from 4k to full HD on 5.5", or xxhdpi.
Specs for Xperia Z5 Premium : http://www.gsmarena.com/sony_xperia_z5_premium-7536.php
I found 8 corresponding devices here.
My Samsung S22, released in February 25, 2022, has a 600 dpi when resolution is set to its highest (3088 x 1440), and more importantly, it loads xxhdpi resources, which means that we aren't there yet in terms of smartphones with 640 DPI or more screen density, and even if your phone contains 600 dpi like my S22 does, which is just 40 dpi shy off 640, it'll still load the 480 dpi (xxhdpi) resources.
I guess we'll get to 640 dpi in a year or two, I also expect the AOSP to add a xxxxhdpi to the source code very soon just as xxxhdpi was added in 2013, long before any 640 dpi handset was released.

Samsung galaxy s5 and Samsung note4 fall under which dpi

I need info about under which dpis both Samsung Galaxy s5 and Samsung note 4 like do they come under xxhdpi or xhdpi or hdpi ?
S5 :
xxhdpi (~432 ppi pixel density)
note 4 :
technically it is DENSITY_560 since it has ~515 ppi pixel density ,
but you should target xxxhdpi and let the android resources system scale images down for you like the nexus 6

Nexus 6 and Nexus 9 Screen density

Can anyone tell me which Drawable does Nexus 6 and Nexus 9 support xxhdpi or xxxhdpi? I also want to whether Nexus 6 supports large- hdpi or anything else?
I searched in google but found no luck?
Thanks.
from http://android-developers.blogspot.com/2014/10/getting-your-apps-ready-for-nexus-6-and.html
Nexus 6 has a quantized density of 560 dpi, which falls in between the
xxhdpi and xxxhdpi primary density buckets.
For the Nexus 6, the platform will scale down xxxhdpi assets, but if
those aren’t available, then it will scale up xxhdpi assets.
drawable-xxxhdpi/ # Higher resolution assets for Nexus 6
The Nexus 9 is a premium 8.9” tablet with a screen size of 2048 x 1536
pixels (288 ppi), which translates to 1024 x 768 dip. This is a 4:3
aspect ratio, which is unique compared to earlier tablets. The Nexus 9
falls into the xhdpi density bucket, and you should already have
assets in the drawable-xhdpi folder.
Nexus 6 is under the xxxhdpi device category just like the Nexus 6P,
Nexus 9 comes under the xhdpi category.
Source: https://design.google.com/devices/

Screen size Compatibility with Samsung Galaxy S3 and Nexus One

I am trying to create an application that I want to run on both Samsung Galaxy S3 and the Nexus One. But later I came to know that both the devices comes in the normal screen size. How can I make the layouts that fits both the devices?
What type of folders should be created and any entry in the menifest for that folders..?
Samsung galaxy s3 - 4.8 inches(Normal screen)
Resolution - 720 * 1280
XHDPI
And
Nexus one -
3.7 inches(Normal)
480 * 800
HDPI
A single layout(normal) should be fine for both the devices . You can create different set of images for both as one is hdpi and other is xhdpi.
Edit : Adding the example table
MDPI X Large 10.1 inches 1280w * 800h(landscape) Samsung Tablet
MDPI Large 7 inches 1024h * 600w HTC Flyer
MDPI Large 7 inches 976h * 600 w Samsung GT P6620

Categories

Resources