Android: are images of the same size rendered differently if placed in different drawable folders?
问题 does an image of the same pixel dimensions in drawable-hdpi render the same or different in drawable-mdpi folder? 回答1: Yes, they will render differently. Each time you provide higher density images, those images will need to have a larger size in pixels to account for the density but appear at the same size in dp. To convert dp to pixels, multiply a value in dp by the device's density multiplier. mdpi is 1.0, hdpi is 1.5, xhdpi is 2.0. Therefore 100dp in hdpi is actually 150px. An app with an