开发者

Is there a tool to allow the use of Android's 9-patches in Javascript?

I'd like a Javascript libra开发者_C百科ry that will stretch/scale 9-patch images correctly. Know of one?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜