Get Device Metrics → DisplayMetrics │ Resolution - Density - Font scaling

With this extension you can get various information about the screen → DisplayMetrics:

screen dimensions, aspect ratio, pixel resolution, dp (or density-independent pixel, Android’s logical pixel), density, font scale, …

GetMetrics.aix (6.7 KB)

Example - blocks

Screenshot

20 Likes

Any apk for directly check my device metrics and extension also?

displayMetrics.apk (5.3 MB)

If your (test) device has a physical navigation bar, then you should disable the above checkbox. If the device has no physical navigation, the height of the screen including the navbar is displayed.

Pixel 2XL

This post was flagged by the community and is temporarily hidden.

2 Likes

The community language is English, please do not post in other languages.

He just wanted to say thank you in my mother tongue (German).
That is nicely meant and one shouldn’t complain about that.

4 Likes

The rules must apply equally to everyone. People have been in trouble before for not posting in English so if we allow some people to get away with it then all those moderations should be overturned.

2 Likes

Me wondering why @Kodular hasn’t promoted @deanart2012 to be moderator?

It’s probably for the best I stay away from that. There would be about 6 people left in this forum by the time I’m through with everyone.

1 Like

thanks, i just wanted to show respect and love to her, coz she deserves that​:rose:.
thanks

1 Like

i thank you very much, i really like your people and country, lots of love​:blossom:

1 Like

Hi, How better use for different devices and for shadow?

orig:
1440x2891 (560dpi)

other resolution, density, fontscale:
540x960 (240dpi)

blocks - 2022-05-17T200455.626

Explain in more detail…

As I undestood it the question is how to set shadow settings to follow font settigs and looks the same

1 Like

yes, on different devices, equal size text and equal shadow.

solved) for shadow need else multiply xDensity

1 Like