I have an array of buttons. (calendar)

now i know i set the background with a drawable. fine.

but HOW can i create a image (best a nine png (so its stretchable)
lets say with 3 rows each a different color)

and finaly set it as a drawable??

a short demo would be great

1. create simple image (3 rows with different color)
2. assign this image to a button

thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to