I think if you're feeling masochistic, you could create 9 images and
do some kind of "manual 9-patch image" with e.g. table or linear
layout views. Just like in bad old HTML times... ;)
If your "dynamically created" images aren't too complex, you might
also use something similar to the XML shape drawables. Opposed to 9-
patch drawables, XML drawables always were scaled correctly if I set
them with setImageViewResource. Maybe it works likewise if you create
a Drawable object like GradientDrawable dynamically?

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