开发者

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

开发者 https://www.devze.com 2022-12-28 01:35 出处:网络
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.

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

精彩评论

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

关注公众号