Android的九宫格相当于其他平台 [英] Android Nine-patch equivalent for other platforms
问题描述
我刚才了解到的Android九补丁的想法,它是一个pretty好主意。我的问题是,如果它是一个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.
谢谢!
推荐答案
在iOS中,您还可以在STRETCH时code图像与StretchableImages。您指定的左,右盖和休息是捉襟见肘。我认为这是basicaly同样的想法,这是一样的东西就可以了教程:的http://blog.chomperstomp.com/creating-dynamically-re-sizable-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/
这篇关于Android的九宫格相当于其他平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!