From 311c27a19cc9e17d6676f863733c530f7bdebde9 Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Mon, 8 Nov 2010 17:41:26 -0800 Subject: Amended 9patch border documentation Change-Id: I6e65aff09ab467016fdf3486902dfe26036bb6e9 --- docs/html/guide/topics/graphics/2d-graphics.jd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/html/guide/topics/graphics/2d-graphics.jd b/docs/html/guide/topics/graphics/2d-graphics.jd index e46dbb4..acb6f9f2 100644 --- a/docs/html/guide/topics/graphics/2d-graphics.jd +++ b/docs/html/guide/topics/graphics/2d-graphics.jd @@ -257,9 +257,9 @@ and saved into the res/drawable/ directory of your project.

The border is used to define the stretchable and static areas of the image. You indicate a stretchable section by drawing one (or more) 1-pixel-wide - black line(s) in the left and top part of the border. (You can have as - many stretchable sections as you want.) The relative size of the stretchable - sections stays the same, so the largest sections always remain the largest. + black line(s) in the left and top part of the border (the other border pixels should + be fully transparent or white). You can have as many stretchable sections as you want: + their relative size stays the same, so the largest sections always remain the largest.

You can also define an optional drawable section of the image (effectively, -- cgit v1.1