图像设计为Android屏幕 [英] Design images for Android screens

查看:163
本文介绍了图像设计为Android屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设计飞溅图像,一个Android应用程序。但是,当涉及到不同的屏幕尺寸和分辨率,我被困在根目录下。

I'm designing splash images for an Android app. But when it comes to different screen sizes and resolutions, i'm stuck at the root.

我已经认识到应该有一个3:4:6:8的比例在图像尺寸,以适应每个屏幕DPI的要求,所以我设计(设计在Photoshop CS 5)启动图像如下

I have understood that there should be a 3:4:6:8 ratio in image sizes to fit each screen dpi requirements, so I have designed (designed in Photoshop CS 5) a splash image as below

低(LDPI) - 184px点¯x58px结果
介质(MDPI) - 246px点¯x78px结果
高(华电国际) - 369px点¯x117px结果
的x高(xhdpi) - 492px点¯x156px结果

low (ldpi) - 184px X 58px
medium (mdpi) - 246px X 78px
high (hdpi) - 369px X 117px
x-high (xhdpi) - 492px X 156px

但问题是,有小的屏幕尺寸,如240×320高或中等分辨率(例如:索尼爱立信Xperia迷你临),当应用程序选择适合本决议的图像时,图像是太大屏幕尺寸。

But the issue is, there are small screen sizes such as 240 x 320 with high or medium resolutions (example: Sony Ericsson Xperia Mini Pro) and when the app selects the image appropriate for this resolution, the image is too large for the screen size.

在我的情况下,华电国际形象将被选中了Xperia Mini和其369px点¯x117px但是实际的屏幕尺寸是320x240像素点¯x320像素

In my case, the hdpi image will be selected for the Xperia Mini and its 369px X 117px but the actual screen size is 240px X 320px

有我丢失的东西在这?或者我应该做的事情不同的设计时。 Android文档是乱码给我。

Is there something i'm missing in this? or should I do something differently when designing. Android documentation is gibberish to me.

帮助!!!!!

感谢你在前进!

请注意:9色块的样本

推荐答案

只要确保你提到的高度和宽度属性FILL_PARENT。这将是很好。

Just make sure you mention fill_parent for height and width attribute. That would be just fine.

注册图像设计的最佳方法是创建一个9修补形象。如果创建了差异套设备的不同形象。这是一个在头上始终。检查并的这个

Reg the image designing the best way is to create a 9 patch image. If you create different image for diff sets of device. It is a over head always. Check this and this

这篇关于图像设计为Android屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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