开发者

Images in App looks Blurry

开发者 https://www.devze.com 2023-04-06 09:53 出处:网络
I have developed an application in Android,and f开发者_高级运维ollowed all design guideline in it.

I have developed an application in Android,and f开发者_高级运维ollowed all design guideline in it. But when i run app on Device images looks blurry(less sharper).

Can anyone tell me what actually the problem is?

Or

What are the guidelines followed by Graphic Designer while designing the graphics for Android application?


You can try 9-patch image which is nothing but a stretchable bitmap image.Check following links for more details
http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch

http://developer.android.com/guide/developing/tools/draw9patch.html


This is most likely your interpretation of what Android is doing behind the scenes to scale the images to look *right on whatever screen you're looking at them on.

Try manually setting the layout_width and layout_height to the actual dimensions of the images with px (rather than dip) and see if that makes it look sharp. If so, you'll want to create different versions for different resolutions.

You don't want to leave them set to their pixel widths, just do it to see if that's what's causing it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号