When you start an android application, the operating system detects the screen resolution and uses the graphics included in the folder mdpi, hdpi, xhdpi
or xxhdpi
.
My question is: is there any way to know which folder to use android?
for example, would be perfect if I could get a variable that indicates the value "mdpi"
or "xxhdpi"
...
I searched but I always find ways to get the resolution, and I want to be sure which is the folder "res" that will use Android.
Thank you very much in advance