Nine-patch described here:

http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch

-- Kostya

Alok Kulkarni <[email protected]> писал(а) в своём письме Wed, 05 May 2010 12:25:11 +0400:

For 9 patch images i suppose they need to be stored under drawable folder. I
need to change the images according to theme at runtime.

On Wed, May 5, 2010 at 12:52 PM, skink <[email protected]> wrote:



Alok Kulkarni wrote:
> Hi ,
> I am having the following code for drawing buttons in my project.
> I am having a button which has three images for 1 button .Namely one
image
> for the rectangle and 2 images for the left and right side curves
> respectively.

use nine-patch-drawables instead

search for *.9.png files under <SDK>/platforms/*/data/res to see how
they look like

pskink

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




--
Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/

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