Hmmh, I checked again and it didn't work. Maybe it worked in the beginning
and I am sure that I verified that with an 1.5 emulator, but I added
different things meanwhile, e.g. added drawable-mdpi version without
providing one in drawable also. But then it seems like I haven't tested that
on 1.5 anymore.

Glad you responded. Otherwise I probably would have rolled out the broken
version today.

On Thu, Jan 7, 2010 at 3:36 PM, Dianne Hackborn <[email protected]> wrote:

> Btw, it may just be luck, that when your resources were build it did the
> generic ones first, so those are the ones 1.5 sees.  I would add the -v4 on
> the directories just to be sure there are no future problems.  (Really aapt
> should be doing this automatically for you.)
>
>
> On Thu, Jan 7, 2010 at 6:35 AM, Dianne Hackborn <[email protected]>wrote:
>
>> Just to be sure. :)   1.5 had some early implementation of the density
>> scaling, so I'm not sure what it will do with the new resources.  If it
>> works, cool.  You'll definitely need the version part for new things like
>> "long".
>>
>>
>> On Thu, Jan 7, 2010 at 5:10 AM, Mariano Kamp <[email protected]>wrote:
>>
>>> Why is that? I didn't do that (drawable-hdpi sans -v4) and it seems it
>>> still works fine on an 1.5 device.
>>>
>>> On Thu, Jan 7, 2010 at 8:41 AM, Pixie <[email protected]> wrote:
>>>
>>>> Thanks for your responses.
>>>> I know I can fix this by creating a high density image, but in the
>>>> first place, the reason I didn’t do it is because my application is
>>>> working on version 1.5, which, as you probably know, does not support
>>>> density-specific resources.
>>>> I have more than one way to solve this problem, one of them is as you
>>>> suggested, but I’m still interested to know the difference between a
>>>> regular PNG and a 9-patch PNG, when it comes to scaling up.
>>>>
>>>> Thanks again
>>>>
>>>>
>>>> On Jan 6, 12:41 am, Dianne Hackborn <[email protected]> wrote:
>>>> > I would strongly recommend making density-specific resources.
>>>>  Graphics
>>>> > scaled from one density to another (especially going up) are never
>>>> going to
>>>> > look as good as ones designed for the density.
>>>> >
>>>> > Plus doing the pre-scaling on 9-patch images is...  interesting. :)
>>>>  It's
>>>> > actually amazing to me that it works as well as it does, but it is
>>>> certainly
>>>> > far from perfect.
>>>> >
>>>> >
>>>> >
>>>> > On Tue, Jan 5, 2010 at 1:48 PM, Jeffrey <[email protected]>
>>>> wrote:
>>>> > > The easiest thing I can think of is to make high density images and
>>>> > > see if that fixes the problem. I know that fix isn't the best but it
>>>> > > might work.
>>>> >
>>>> > > On Jan 5, 7:31 am, Pixie <[email protected]> wrote:
>>>> > > > Hello everyone,
>>>> >
>>>> > > > I have some 9-patch images on my app, and they work great on the
>>>> > > > medium density.
>>>> > > > When I load the app on a High density emulator/device, these
>>>> images
>>>> > > > look grainy.
>>>> > > > It happens only to 9-patch images. The others look great after the
>>>> pre-
>>>> > > > scaling.
>>>> > > > Is there a way to make them look good after the scaling, like the
>>>> > > > non-9-patch images?
>>>> >
>>>> > > > Thanks
>>>> >
>>>> > > --
>>>> > > 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]<android-developers%[email protected]>
>>>> <android-developers%[email protected]<android-developers%[email protected]>
>>>> >
>>>> > > For more options, visit this group at
>>>> > >http://groups.google.com/group/android-developers?hl=en
>>>> >
>>>> > --
>>>> > Dianne Hackborn
>>>> > Android framework engineer
>>>> > [email protected]
>>>> >
>>>> > Note: please don't send private questions to me, as I don't have time
>>>> to
>>>> > provide private support, and so won't reply to such e-mails.  All such
>>>> > questions should be posted on public forums, where I and others can
>>>> see and
>>>> > answer them.
>>>>
>>>> --
>>>> 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]<android-developers%[email protected]>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>
>>>
>>> --
>>> 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]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> [email protected]
>>
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support, and so won't reply to such e-mails.  All such
>> questions should be posted on public forums, where I and others can see and
>> answer them.
>>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
-- 
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