是否有可能有一个包含两个(或多个)可拉伸(stretch)区域/区域的 9-Patch?
如果可能的话, 我如何指定第一个区域将拉伸(stretch) 70% 而第二个区域将拉伸(stretch) 30%? 还是 50% 和 50%?
最佳答案
Is it possible to have a 9-Patch with two (or multiple) strechable regions / areas?
是
If its possible, how do I specify that the first area will strech 70 percent and the second 30 percent? or 50 percent and 50 percent?
我认为这是不可能的。
我知道你可以像这样指定多个拉伸(stretch)区域
X X
************
X ************
************
****LOGO****
************
X ************
************
关于android - 具有两个可拉伸(stretch)区域的 9-Patch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20188723/