我应该为所有绘制文件夹(LDPI,MDPI,华电国际)如果图像是一样的缩放后的图像? [英] Should I create resized images for all drawable folders (ldpi-mdpi-hdpi) if the image is the same?

查看:147
本文介绍了我应该为所有绘制文件夹(LDPI,MDPI,华电国际)如果图像是一样的缩放后的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果图像是一样的,但唯一的调整,我应该创建(调整)的所有图像?或者让系统调整图像,我和只船的应用与华电国际形象?

If the image is the same but only resized, should I create (resize) all the images? Or let the system resize the images for me and only ship the app with hdpi images?

对于我来说是很有意义的创造新的图像,如果图像是不同的,例如,如果调整​​后的图像不适合一个LDPI屏幕,然后另一个图像需要用更少的信息来创建。

For me it makes sense to create new images if the images are different, for example, if the resized image doesn't fit into a ldpi screen then another image needs to be created with less information.

我是不是要在小型设备上遇到内存问题,如果我只船应用与华电国际形象?

Am I going to run into memory issues on small devices if I only ship apps with hdpi images?

谢谢!

推荐答案

我认为你应该使用特定的绘制每种类型的屏幕。通过这样做,你是确保UI在每个屏幕上是相同的。

I think you should use specific drawable for each type of screen. By doing this, you are sure that the UI is the same in each screens.

我不知道你是否已经读过这一点,但这里是一个很好的文章,解释,以支持多个屏幕的 http://developer.android.com/guide/practices/screens_support.html

I don't know if you already read this but here is a good article that explains the best way to support multiple screens http://developer.android.com/guide/practices/screens_support.html

这篇关于我应该为所有绘制文件夹(LDPI,MDPI,华电国际)如果图像是一样的缩放后的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆