The behavior of 9-patch is undefined when shrunk. In practice you will see
overlaps of the various sections of the 9patch. Don't do it :)

On Sat, May 21, 2011 at 6:53 AM, Mark Murphy <[email protected]>wrote:

> On Sat, May 21, 2011 at 1:54 AM, Ralph Bergmann <[email protected]> wrote:
> > Is a 9-patch only stretchable or is it also compressible?
>
> No, it is only stretchable, AFAIK.
>
> > What happens
> > when the 9-patch is too big?
>
> Rupture in the space-time continuum. Or, possibly, it is scaled down
> just like a regular PNG would be in the same situation.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android App Developer Books: http://commonsware.com/books
>
> --
> 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
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to