图形尺寸华电国际/ LDPI / MDPI [英] Graphic dimensions for hdpi/ldpi/mdpi
本文介绍了图形尺寸华电国际/ LDPI / MDPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个按钮图形,尺寸为300 * 90.How必须是尺寸华电国际/ MDPI / LDPI?谢谢
I have a button graphic with dimensions 300*90.How must be the dimensions for hdpi/mdpi/ldpi?Thanks
推荐答案
谷歌<一href="http://developer.android.com/guide/practices/screens_support.html#DesigningResources">suggests使用
3:4:6:8:12:16
缩放比率
LDPI:MDPI:华电国际:xhdpi:xxhdpi:xxxhdpi
相应。例如:
- 36X36的低密度
- 48×48的中密度
- 的72x72的高密度
- 96×96的超高密度
- 在144x144的超超高密度
- 在192x192的超特超高密度(启动器图标只是 )
- 36x36 for low-density
- 48x48 for medium-density
- 72x72 for high-density
- 96x96 for extra high-density
- 144x144 for extra-extra-high-density
- 192x192 for extra-extra-extra-high-density (launcher icon only)
在你的榜样,如果您输入的按键尺寸为华电国际,正确的尺寸应该是:
In your example, if mentioned button sizes are for hdpi, correct dimensions should be:
- 在150x45 LDPI
- 在200x60 MDPI
- 在300x90华电国际
- 400x120 xhdpi
- 600x180 xxhdpi
这篇关于图形尺寸华电国际/ LDPI / MDPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文