适用于其他平台的 Android 九个补丁等效项

发布于 2024-10-30 23:32:12 字数 93 浏览 6 评论 0原文

我刚刚了解了Android九补丁的想法,这是一个非常好的想法。我的问题是它是否是 Android 模式,或者是否有类似其他平台的实现,可能名称不同。

谢谢!

I have just learned about Android nine-patches idea, and it is a pretty good idea. My question is if it is an Android pattern or there is implementations like that for other platforms, probably differently named.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦罢 2024-11-06 23:32:12

在 iOS 中,您还可以使用 StretchableImages 在代码中拉伸图像。您指定左、右大写字母,“其余部分”将被拉伸。我认为基本上是相同的想法,这就像一个教程: http://blog.chomperstomp.com/creating-dynamically-re-sizing-buttons-for-iphone-apps/

In iOS you can also strech images in code with StretchableImages. You specify the left, right caps and the "rest" is stretched. I think is basicaly the same idea, this is something like a tutorial on it: http://blog.chomperstomp.com/creating-dynamically-re-sizable-buttons-for-iphone-apps/

街道布景 2024-11-06 23:32:12

还有另一个问题这里提到了一个在iPhone 的 Apache 许可证。我还没用过,但值得一试。

There is another SO question here that mentions a library released under Apache license for iPhone. I haven't used it but is worth checking out.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文