MapRewardBtn.xml 1.2 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <component size="128,128" pivot="0.5,0.5" extention="Button">
  3. <controller name="RewardStateCtrl" pages="0,None,1,Award,2,Full" selected="2">
  4. <remark page="0" value="没有奖励"/>
  5. <remark page="1" value="有奖励"/>
  6. <remark page="2" value="奖励满"/>
  7. </controller>
  8. <displayList>
  9. <loader id="n0_ashv" name="n0" xy="0,0" size="128,128" url="ui://rbw1tv9tpiuda8">
  10. <gearIcon controller="RewardStateCtrl" pages="1,2" values="ui://rbw1tv9tpiuda8|ui://rbw1tv9tpiuda8" default="ui://rbw1tv9tpiudam"/>
  11. <relation target="" sidePair="width-width,height-height"/>
  12. </loader>
  13. <text id="n1_ashv" name="title" xy="0,92" size="128,36" fontSize="20" color="#ffffa9" align="center" vAlign="middle" autoSize="none" strokeColor="#000000" singleLine="true" text="48:00:00">
  14. <relation target="" sidePair="width-width,height-height"/>
  15. </text>
  16. <text id="n2_ashv" name="n2" xy="0,61" size="128,36" fontSize="20" color="#ffffa9" align="center" vAlign="middle" autoSize="none" strokeColor="#000000" text="奖励已满!!">
  17. <gearDisplay controller="RewardStateCtrl" pages="2"/>
  18. </text>
  19. </displayList>
  20. <Button downEffect="scale" downEffectValue=".8"/>
  21. </component>