What ADT version? Is that version 0.96?

On Apr 6, 5:42 pm, BrooksT <[email protected]> wrote:
> Help! I'm working to convert some background images to nine patch so
> they scale better on different phones.
>
> The problem is that if I have the following resource structure:
>
> drawable-hdpi/background.png
> drawable-hdpi/button.png
> drawable-mdpi/background.png
> drawable-mdpi/button.png
> drawable-ldpi/background.png
> drawable-ldpi/button.png
>
> ...and then I drop a new drawable-hdpi/background.9.png file into the
> mix, it breaks button.png during the pre-compile.  The error is "No
> resource found that matches the given name (at 'background' with value
> '@drawable/button').    main.xml        /test/res/layout        line 71 
> Android AAPT
> Problem"
>
> Simply removing that one nine patch file fixes the build.
>
> Should I be able to have some nine patch images and some normal ones,
> or to have nine patch only in hdpi but not mdpi or ldpi?
>
> This is Eclipse 3.5.1 with the latest ADT.
>
> Thanks!
> -Brooks

-- 
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

To unsubscribe, reply using "remove me" as the subject.
  • [android-deve... BrooksT
    • [android... Fred Grott(Android Expert, http://mobilebytes.wordpress.com)

Reply via email to