Then it's not a 9-patch!  A 9-patch has one extra pixel around the
edge, that is used to describe where the graphic within that 1-pixel
border is stretched.

Please see the documentation for the Draw 9-patch tool, which can take
an existing graphic and convert it for you, by adding those 1-pixel
borders, and letting you edit them.

You can do it yourself in a graphics editor, but the Draw 9-patch tool
gives you better feedback and is easier.

On Feb 26, 8:21 pm, OldSkoolMark <[email protected]> wrote:
> On Feb 26, 1:27 pm, Gaunt Face <[email protected]> wrote:
>
> > Basically have at least one black pixel on the top and left sides and
> > you should have an ok, stretching 9-patch png
>
> Why does this matter? Suppose the edge is a shadow or other gradient.
> What then?

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