Android的 - 显卡大而模糊 [英] Android - graphics are big and blurry

查看:85
本文介绍了Android的 - 显卡大而模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个平面设计师,可以帮助我与UI开发。我们先从我使用我的Nexus One(800x485)把我的当前界面的屏幕截图。然后,他覆盖新技术相比旧的截图在Photoshop和创建透明的PNG格式。然后我拿去,插上我的应用程序和我的沮丧这些图像出现大而模糊(约大35%)。当我检查这些在72 dpi的创建的图像,所以我真的不知道为什么会这样。任何想法?

I have a graphic designer that helps me with UI development. We start with me taking screenshots of my current UI using my Nexus One (800x485). Then he overlays new art over the old screenshots in Photoshop and creates transparent PNGs. Then I take that, plug it in my app and to my dismay these images appear big and blurry (about 35% larger). When I check images these are created at 72 dpi so I really have no idea why this is happening. Any ideas?

推荐答案

您需要把显卡在正确配置目录为目标屏幕。如果它们被设计为N1,即800×480的屏幕是一个高密度的屏幕,所以在图形需要在抽拉-HDPI去。的不是在通用绘制目录,它向后兼容假定为MDPI

You need to put the graphics in the correct configuration directory for the target screen. If they are being designed for N1, that 800x480 screen is a high density screen, so the graphics need to go in drawable-hdpi. Not in the generic drawable directory, which for backwards compatibility is assumed to be mdpi.

这篇关于Android的 - 显卡大而模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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