N
N
Neonoviiwolf2017-03-02 04:42:36
Android
Neonoviiwolf, 2017-03-02 04:42:36

How does android choose image resolution?

O----------------------------------------------------

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-03-02
@Rou1997

I read and read, but still did not understand the essence.

It is better not to read this, but to investigate - WxH inches, physical pixels, dpi - there is a dependence, you need to identify and formulate it.
$ google hdpi range
Result: LDPI = 120 DPI MDPI = 160 DPI HDPI = 240 DPI XHDPI = 320 DPI XXHDPI = 480 DPI XXXHDPI = 640DPI
That's right, 240 dpi is hdpi.
Just in case, I will explain how it should work.
With the correct use of this division by dpi, the metric size of the image - in inches, mm, measure with a ruler - should be the same, regardless of the size of the display and its resolution.
If you don't, take screenshots and we'll have a conversation.
With the emulator, you could still resize the window without changing the characteristics of the "virtual display" itself, of course, the metric size of the image would be violated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question