<imagePainter method="buttonBackground"
path="fakdjfk.png" sourceInsets="10 12 8 9"
paintCenter="true" stretch="true" />
------------------------------------------------------------------
method="buttonBackground"
想问下里面的method这个设置主要有啥用处?如果不设置会怎么样?
有人用没?
回答点啊
path="fakdjfk.png" sourceInsets="10 12 8 9"
paintCenter="true" stretch="true" />
------------------------------------------------------------------
method="buttonBackground"
想问下里面的method这个设置主要有啥用处?如果不设置会怎么样?
有人用没?
回答点啊
这个标签用于指示控件如何将图片显示到指定部分,method属性就是用来指定图片用于那一部分的,buttonBackground是指按钮的背景。
以上是简单解释,详细请看api说明。