title: How to call an image in drawable folder from xml file?
body: <p>I wanna make a different button for "spacebar" in my custom skin smartkeyboard for android. </p>
  
  <p><a href="https://i.stack.imgur.com/KvG9C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KvG9C.png" alt="here"></a> </p>
  
  <p>is my custom skin. I can put the images in drawable folder. I wanna make my spacebar button look different for the normal condition and also pressed condition. I've already put the image file in drawable folder. and here is the xml code </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;skin version="1.0" name="Bu"&gt;
    &lt;background&gt;
         &lt;image&gt;skin.png&lt;/image&gt;
    &lt;/background&gt;
    &lt;key-background&gt;
      &lt;normal&gt;normal.9.png&lt;/normal&gt;
      &lt;pressed&gt;pressed.9.png&lt;/pressed&gt;
    &lt;/key-background&gt;
    &lt;mod-key-background&gt;
      &lt;normal&gt;normal.9.png&lt;/normal&gt;
      &lt;pressed&gt;pressed.9.png&lt;/pressed&gt;
      &lt;normal-off&gt;normal.9.png&lt;/normal-off&gt;
      &lt;pressed-off&gt;pressed.9.png&lt;/pressed-off&gt;
      &lt;normal-on&gt;mod_on.9.png&lt;/normal-on&gt;
      &lt;pressed-on&gt;mod_on_pressed.9.png&lt;/pressed-on&gt;
    &lt;/mod-key-background&gt;
    &lt;symbols&gt;
      &lt;delete&gt;backspace.png&lt;/delete&gt;
      &lt;return&gt;return.png&lt;/return&gt;
      &lt;search&gt;search.png&lt;/search&gt;
      &lt;shift&gt;caps.png&lt;/shift&gt;
      &lt;shift-locked&gt;caps.png&lt;/shift-locked&gt;
      &lt;space&gt;spacebar.png&lt;/space&gt;
      &lt;mic&gt;micro.png&lt;/mic&gt;
    &lt;/symbols&gt;
    &lt;colors&gt;
      &lt;label bold="true"&gt;#FFFFFFFF&lt;/label&gt;
      &lt;alt-label&gt;#FFFFFFFF&lt;/alt-label&gt;
      &lt;mod-label&gt;#FFFFFFFF&lt;/mod-label&gt;
    &lt;/colors&gt;
  &lt;/skin&gt;
  </code></pre>
  
  <p>so, what code name should I add, to call the button from drawable folder for spacebar. and where do I have to put it?</p>
  
  <p>EDIT : the <code>&lt;space&gt;spacebar.png&lt;/space&gt;</code> works for the icon not the button. the <code>&lt;symbol&gt;</code> works for the icons, and the <code>&lt;key-background&gt;</code> works for the button.</p>