2010/11/16 Евгений Григорьев <[email protected]>

> I understand "stretching" of image, but there is some other changing
> of image.
> There is simple way to see this: Just create 1-pixel thin round-
> rectangle line.
> And using "draw9patch" set top stretchable area: 1 middle pixel, and
> left stretchable area: 1 middle pixel.
> If use this picture as background of any view - you can see that
> result will have a bit other color, and angles will be a bit changed.
>

Have you verified this actually happens on the device?  The semantics of
9-patches are very well defined, simple, and not going to cause the
artifacts I think you are describing if the stretchable areas don't include
things that would result in such artifacts.

9-patches are used for the vast majority of the UI -- button frames, dialogs
borders, and on and on and on.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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