title: Configure the size of the icon at J2ME Polish
body: <p>How can I configure the size of the icon to fit correctly on the multiple mobile devices?</p>
  
  <p>Based on the <a href="http://www.enough.de/products/j2me-polish/documentation/building/resource-handling/resource-assembling.html" rel="nofollow">J2ME Polish documentation</a>, I'm using the following <code>resources</code> folder structure:</p>
  
  <pre><code>IconSize.15x15\icon.png
  IconSize.16x16\icon.png
  ...
  </code></pre>
  
  <p>But it's no working, I've tried in several mobile devices and all of them load the default J2ME Polish icon.</p>
  
  <p>Here's my <code>build.xml</code> file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project name="myProject" default="j2mepolish"&gt;
      &lt;property name="polish.home" location="C:\Program Files (x86)\J2ME-Polish" /&gt;
      &lt;property name="wtk.home" location="C:\JavaME_SDK" /&gt;
      &lt;taskdef
          name="j2mepolish"
          classname="de.enough.polish.ant.PolishTask"
          classpath="${polish.home}/lib/enough-j2mepolish-build.jar"
      /&gt;
      &lt;target name="run"&gt;
          &lt;j2mepolish&gt;
              &lt;info
                  name="My Project"
                  version="1.0.0"
                  description="My Project"
                  vendorName="Diogo"
                  jarName="myProject.jar"
              /&gt;
              &lt;deviceRequirements&gt;
                  &lt;requirement name="Term" value="polish.api.wmapi" /&gt;
                  &lt;requirement name="Identifier" value="Generic/AnyPhone" /&gt;
              &lt;/deviceRequirements&gt;
              &lt;build
                  usePolishGui="true"&gt;
                  &lt;libraries&gt;
                          &lt;library file="lib/json-1.0.jar" /&gt;
                  &lt;/libraries&gt;
                  &lt;midlet class="myProject" /&gt;
                  &lt;resources
                      dir="resources/"
                      defaultexcludes="yes"
                      excludes="readme.txt" &gt;
                      &lt;root dir="resources/" includeSubDirs="true" includeBaseDir="true" /&gt;
                  &lt;/resources&gt;
                  &lt;variables&gt;
                      &lt;variable name="polish.usePolishTitle" value="true" /&gt;
                      &lt;variable name="polish.TextField.suppressCommands" value="true" /&gt;
                      &lt;variable name="polish.TextField.useDirectInput" value="true" /&gt;
                      &lt;variable name="polish.TextField.showInputInfo" value="false" /&gt;
                  &lt;/variables&gt;
                  &lt;obfuscator name="ProGuard"&gt;&lt;/obfuscator&gt;
                  &lt;postcompiler name="java5" /&gt;
              &lt;/build&gt;
              &lt;emulator /&gt;
          &lt;/j2mepolish&gt;
      &lt;/target&gt;
      &lt;target name="clean"&gt;
          &lt;delete dir="build" /&gt;
          &lt;delete dir="dist" /&gt;
      &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>