Posted By

mcorlan on 04/28/11


Tagged

actionscript mobile Flex


Versions (?)

Flex Keyboard


 / Published in: ActionScript 3
 

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
  3. xmlns:s="library://ns.adobe.com/flex/spark"
  4. title="HomeView">
  5.  
  6.  
  7. <s:actionContent>
  8. <s:Button label="Next"/>
  9. </s:actionContent>
  10.  
  11. <s:VGroup width="100%" height="100%" horizontalAlign="center" paddingTop="20" paddingBottom="20">
  12. <s:TextArea width="90%" height="100%" editable="false"
  13. selectable="false" text="some text"/>
  14. <s:Label id="totalLbl"
  15. fontWeight="bold" width="90%" text="Total: 0" textAlign="right" styleName="totalLbl"/>
  16.  
  17. <s:HGroup id="buttonsHolder" gap="5">
  18.  
  19. <s:TileGroup requestedColumnCount="3" horizontalGap="5" verticalGap="5">
  20. <s:Button label="7" styleName="buttonCalculator" width="75" height="75"/>
  21. <s:Button label="8" styleName="buttonCalculator"/>
  22. <s:Button label="9" styleName="buttonCalculator"/>
  23.  
  24. <s:Button label="4" styleName="buttonCalculator"/>
  25. <s:Button label="5" styleName="buttonCalculator"/>
  26. <s:Button label="6" styleName="buttonCalculator"/>
  27.  
  28. <s:Button label="1" styleName="buttonCalculator"/>
  29. <s:Button label="2" styleName="buttonCalculator"/>
  30. <s:Button label="3" styleName="buttonCalculator"/>
  31.  
  32. <s:Button label="." styleName="buttonCalculator"/>
  33. <s:Button label="0" styleName="buttonCalculator"/>
  34. <s:Button label="+" styleName="buttonCalculator"/>
  35. </s:TileGroup>
  36.  
  37. <s:VGroup verticalAlign="bottom" height="100%" gap="5">
  38. <s:HGroup gap="5">
  39. <s:Button label="&lt;" styleName="buttonCalculator" width="75" height="75"/>
  40. <s:Button label="&gt;" styleName="buttonCalculator" width="75" height="75"/>
  41. </s:HGroup>
  42. <s:Button label="DEL" styleName="buttonCalculator" width="155" height="75"/>
  43. </s:VGroup>
  44.  
  45. </s:HGroup>
  46.  
  47. </s:VGroup>
  48. </s:View>

Report this snippet  

You need to login to post a comment.