views:

52

answers:

1

I'd like a Javascript library that will stretch/scale 9-patch images correctly. Know of one?

+1  A: 

I did some research on nine-patch images a while back and concluded they were an Android thing. Hence, I doubt such a tool exists.

If you are using this from a WebView-powered Android app, you could always use addJavascriptInterface() to expose the Java APIs to scale it for you.

CommonsWare
I'm not using it from Android... I just think they're a great idea and would like to use them in web pages. Also, I'm too lazy to write it myself (something about hating Javascript).
fiXedd