Nevermind, I have found the solution.

I changed <uses-sdk android:minSdkVersion="3"/> to <uses-sdk
android:targetSdkVersion="6"/> and added

<supports-screens
      android:largeScreens="true"
      android:normalScreens="true"
    **android:resizeable="true"**
      android:smallScreens="true"
      android:anyDensity="true" />

On Jul 3, 8:39 pm, Jeffrey <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to