android图像分辨率调整大小 [英] android image resolution resizing

查看:170
本文介绍了android图像分辨率调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



首先,我有一个应用程序,其分辨率硬编码为1024 * 768,现在我想将此应用程序分辨率缩小到800 * 480,以便在低位执行res设备,所以我的问题是如何动态重新调整现有图像的大小,使其适合800 * 480分辨率...

Hi,
To start with I have a application whose resolution is hard coded to 1024*768,now i want to scale down this application resolution to 800*480 so as to execute it on low res device,so my question is how can i dynamically re-size the existing images so as to make it fit for 800*480 resolution...

推荐答案

如果你将您的应用程序硬编码到某个屏幕大小,尽快通过它,至少是它的UI部分,并且永远不会写出类似的东西。您的应用程序应该在不同的屏幕尺寸上表现良好,否则没有人需要它。



您的问题根本没有意义。



-SA
If you hard-coded your application to some screen size, through it out as soon as possible, at least its UI part, and never write things like that. Your application should behave nicely on different screen sizes, otherwise nobody needs it.

Your question simply makes no sense.

—SA


这篇关于android图像分辨率调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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