Monday, August 30, 2010

[android-developers] Can 9 patches have more than marked region or not?

I'm confused because I've found various tutorials illustrating how to
create multiple stretchable regions in your 9 patch (e.g. you want the
center and corners of the image to stay fixed size, but two inner
columns to stretch), and the draw9patch tools seems to happily support
it. What's more, a 9 patch built this way even works in the layout
preview tool.

However, when AAPT runs over the .9.png in Eclipse, I get the
following error:

"Can't have more than one marked region along edge. - Found at pixel
#9 along bottom edge."

So it doesn't seem to like the multiple regions.

What's going on?

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

No comments:

Post a Comment