缩放比例在Android的图片?缩放、比例、图片、Android

由网友(你没资格说别人假)分享简介:我开发一个简单的信息系统,该系统将使用大量的图片。问题是我不知道如何将其扩展到LDPI,MDPI,华电国际和华电国际的文件夹。I am developing a simple informative system which will use a lot of images. The problem is I do...

我开发一个简单的信息系统,该系统将使用大量的图片。问题是我不知道如何将其扩展到LDPI,MDPI,华电国际和华电国际的文件夹。

I am developing a simple informative system which will use a lot of images. The problem is I do not know how to scale them to the folder of ldpi, mdpi, hdpi, and hdpi.

我读了Android使用像3的缩放比例:4:6:8。一些可以给我解释一下这是什么 3:4:6:8比例比?如何使用它,这是什么逻辑背后?

I read that android uses a scaling ratio like 3:4:6:8. Can some explain to me what is this 3:4:6:8 scaling ratio? How do I use it, and what is the logic behind it?

假设我在 LDPI 文件夹,一个50×50像素的图像。如果我要使用的 3:4:6:8的比例的。什么将是下一个图像大小为我的 MDPI 文件夹和华电国际文件夹?

Suppose I have a 50x50 px image in ldpi folder. If I am going to use 3:4:6:8 ratio. What will be the next image size for my mdpi folder and hdpi folder?

请帮忙。我真的不明白,缩放比率。对不起,这一点,我在Android的设计只是一个新手。

Please help. I dont realy understand that scaling ratio. Sorry for this, I'm only a newbie in android design.

推荐答案

他们大多使用这些标准尺寸:

Mostly they use these standard sizes:

LDPI:36 * 36 MDPI:48 * 48 华电国际:72 * 72 xhdpi:96 * 96

ldpi: 36*36 mdpi: 48*48 hdpi: 72*72 xhdpi: 96*96

阅读全文

相关推荐

最新文章