button按钮设置按压的图片时:
下面是错误的
<Button name="signature_btn" text = "签名内容" float="true" pos="150,100,0,0," width="70" height="55" textcolor="ff008000" pushedtextcolor="#FFFF0000" disabledtextcolor="#FFA7A6AA" align="center" selectedimage="pushedimage.png"/>
原因:1.对于button按钮 按钮的图标再选中时 为
pushedimage="pushed.png"
而不是selectedimage="pushedimage.png"
并且,selectedimage中名字也错了
、option按钮 设置按下图片时
<Option name = "fxshell" text = "加壳" textcolor = "00FFFFFF" float = "true" pos = "20 30 0 0" width = "70" height = "55" pushedtextcolor="#FFFF0000" disabledtextcolor="#FFA7A6AA" align="center" group = "cno" selectedimage="selected.png" selected = "true"/>
后来在调试过程中,发现option控件上有文字,就是显示不出来,最后发现:
字体颜色和背景色一样了,换掉字体颜色就可以了。