It is normal.

The whole point of a 9-patch is to preserve the corners. It is
therefore not really possible to scale them down correctly.

On Tue, Sep 9, 2008 at 10:15 AM, sahn0 <[EMAIL PROTECTED]> wrote:
>
> It seems that nine-patch behaves wierdly when scaled down.
> I created button and specified it to be 20x20 pixels. Button drawable
> is 44x48 and has 2x2 stretchable area. Downscaling produced weird
> results. In fact, the result didn't seem to be the result of scaling
> at all. It looked like result of overlapping copy operations, which
> were restricted to 20x20 clip.
>
> The question is: is this normal? Or is it a bug? How in theory 9-
> patches should/can be scaled down?
>
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to