title: ImageButton skin file scene2d (libgdx )
body: <p>Could anyone point me to a working sample skin file for <a href="http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/ImageButton.html" rel="nofollow">Scene2d ImageButton</a>? Based on the ImageButton constructor, this was my unsuccessful attempt at creating a basic skin:</p>
  
  <pre><code>styles: {
    com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: 
      {
       down: downImage, 
       up: upImage, 
       checked: checkedImage        
      }   
    }
  </code></pre>
  
  <p>I can't find one anywhere in the documentation, although there is a sample for a TextButton skin file <a href="https://code.google.com/p/libgdx-users/wiki/Skins" rel="nofollow">here</a>.</p>
  
  <p>In the Libgdx source, there is one example of using an ImageButton in a UI test by setting the styling programmatically <a href="http://libgdx.googlecode.com/svn/trunk/tests/gdx-tests/src/com/badlogic/gdx/tests/UITest.java" rel="nofollow">here</a>, but I'm hoping to avoid setting the styling in code. </p>