[android-developers] Re: Scaling 9-patch drawable *down*

2008-09-09 Thread sahn0
Well, you can scale down and preserve corners at the same time. Just copy four image corner parts of (width/2 x height/2) size each. This of course is not an ideal solution, but it will work for most drawables & most sane sizes (will work for my case too). Just a proposition. I checked out help a

[android-developers] Re: Scaling 9-patch drawable *down*

2008-09-09 Thread Romain Guy
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 specifi