Pnkj
Pnkj

Reputation: 43

Images in App looks Blurry

I have developed an application in Android,and followed 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?

Upvotes: 4

Views: 2336

Answers (2)

Ajinkya
Ajinkya

Reputation: 22710

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

Upvotes: 2

Yevgeny Simkin
Yevgeny Simkin

Reputation: 28349

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.

Upvotes: 1

Related Questions