开发者

Density (from dip to pixel)

I design my UI with Density-independent pixel as units of measurement.

I have same icons 18x18 dip. What 开发者_如何学运维should be the phisical dimension of the png icons for ldpi, mdpi and hdpi? I try 9x9, 12x12 and 18x18 but the emulator enlarge them.


Try this answer. Dips are equivalent to pixels at 160 dpi. Anything else, just scale it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜