鼠标移到上面会变成手型,并且文字会变颜色,效果如下:
xml配置:
<Button name="homepage_btn" cursor="hand" text="测试1" resourcetext="true" showhtml="true" autocalcwidth="true" valign="vcenter" align="left" textcolor="#00000000" hottextcolor="#FFFF00FF" font="1" tooltip="测试1"/>
<Button name="qqgroup_btn" cursor="hand" text="测试2" showhtml="true" tooltip="测试2" width="220" autocalcwidth="true" valign="vcenter" align="left" textcolor="#00000000" hottextcolor="#FFFF00FF" font="1" />
<Button name="qq_btn" cursor="hand" text="测试3" width="170" valign="vcenter" align="left" textcolor="#00000000" hottextcolor="#FFFF00FF" font="1" tooltip="测试3" />