I mark only 2 center pixels as stretchable area. The problem is not
stretching, but small changes in color of line and little mutations of
corners.

I thought it can be resolved by putting original picture to "raw"
resource folder, but in this case it is not stretched correctly.

On 15 ноя, 15:00, Kumar Bibek <[email protected]> wrote:
> You should stretch the areas that are uniform. That is, do not stretch the
> corners. That should fix this problem
>
> 2010/11/15 Евгений Григорьев <[email protected]>
>
>
>
>
>
> > Hi all.
>
> > I have a problem with using nine patch images. I have an original
> > picture:
>
> >http://picasaweb.google.com/Grigoriev.Evgeny.V/Android?authkey=Gv1sRg...
>
> > Than i use nine-patch tool from sdk to set 2-pixel stretchable area in
> > the center of horizontal line. Then i set this image like background
> > of linear layout. And as a result i get such image:
>
> >http://picasaweb.google.com/Grigoriev.Evgeny.V/Android?authkey=Gv1sRg...
>
> > So my image not only stretches, but also changes in some strange way.
> > Even corner areas, that should be the same changes.
>
> > Has anyone the same problem?
>
> > --
> > 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]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

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