title: android: How can I create subfolder in a `mipmap` folder, that can be accessed in code and layouts
body: <p>I have my image resources in the various <code>mipmap</code> folders (<code>mipmap-xhdpi</code>, <code>mipmap-xxhdpi</code>, etc.) My project has hundreds of images (and growing) and it is becoming cumbersome that they are all in a single level in each directory.</p>
  
  <p>I want to create a subfolder, such as "sprites" that I can reference in code with something like </p>
  
  <p><code>R.mipmap.sprites.sprite_name</code></p>
  
  <p><strong>How can I create usable sub-folders in my mipmap folders?</strong></p>
  
  <p>When I create a new directory inside of a mipmap folder (using <code>New -&gt; Directory</code>), the directory and its contents are invisible to anywhere that I am specifying a resource, namely:</p>
  
  <p>&bull; In the design-view of my xml layout, when I am browsing for an image resource for a background or an image button, the sub folders are hidden.</p>
  
  <p>&bull; In code, when I am specifying an image resource (<code>R.</code>... the subfolders are ignored).</p>
  
  <p>Is there a correct way to do this? There appear to be some other directory options, Under the <code>New -&gt; Folder</code> category, I have:</p>
  
  <p>&bull; <code>Assets folder</code>, described as "create a source root for assets to be included in the apk," but I don't want a root, I want a subdirectory.</p>
  
  <p>&bull; <code>Res Folder</code>, "source root for android resource files" 1. I don't see how this is different than an asset and 2. again, I don't want a root.</p>
  
  <p>There are also several other folder types listed, that I am not familiar with.</p>
  
  <p><strong>If this cannot be accomplished, what is the correct way to include (and organize) hundreds (or thousands) of image resources in a project? Is the only way to do it really to have them all in a single directory?</strong></p>