Saturday, July 3, 2010

[android-developers] HDPI images looking like crap

How do I get my HDPI images to not look like autoscaled versions? Do I
need to make the pixels per inch special or something? I use GIMP and
I've tried everything and my images still look terrible. I don't know
what property I have to change to make it work.

Right now I have my ppi set at 72. Also I don't know if this matters
but the images are 9patch images. Also, I am using the HDPI button
image straight from the HDPI source folder, and it also looks like
crap when using .setBackgroundResource(R.drawable.imagename).

The weird part about the button image is that it looks just fine when
it's set via XML as the background resource, but when it's reset
using .setBackgroundResource, it looks like shit. Please tell me what
I am doing wrong...

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate