If, in a layout xml file, I set the size to be, for example 12dip. Will that always be 12px in mdpi and so 18px in hdpi?
So is dip always true for mdpi and will scale accordingly for other densities?
androidlayoutresolution
If, in a layout xml file, I set the size to be, for example 12dip. Will that always be 12px in mdpi and so 18px in hdpi?
So is dip always true for mdpi and will scale accordingly for other densities?
Best Answer
That question is fully covered by official documentation. Relations between dip, px and dpi are covered by this section.
Quote:
So the statement:
seems to be correct, according to the docs.