Hayes121
Hayes121

Reputation: 283

Android Background Image Blurry

I am trying to add a background image to my app. I have added the image into the drawable folder and referenced it in XML file. But whenever I launch the app the picture is very blurry.

Is there a way to fix this, or should I be getting my pictures from a specific Android website?

Upvotes: 0

Views: 1629

Answers (3)

Hayes121
Hayes121

Reputation: 67

I have had the same problem, what I found useful was searching for high quality images on google, and if that doesnt get you any results try editing the pixels/cm or /inch in a simple image viewer, I used preview on the mac and it worked well for me

Upvotes: -2

user4235226
user4235226

Reputation:

Normally the back ground image will depend on the resolution of the image you are using, try edit it the pixels/cm or /inch in a image viewer.

Upvotes: 0

Lukos
Lukos

Reputation: 712

If you have a low resolution image on a higher resolution device, this will happen. You should put higher resolution images in the different drawable folders.

You can read more about it here: http://developer.android.com/guide/practices/screens_support.html

Upvotes: 3

Related Questions