title: Creating a navigation drawer with icons and text
body: <p>I am creating a navigation drawer in my android app and want to be able to define the menu options in a resource file. So far I have done it with a string array as follows</p>
  
  <pre><code>&lt;string-array name="drawer_options"&gt;
          &lt;item&gt;Option 1&lt;/item&gt;
          &lt;item&gt;Option 2&lt;/item&gt;
          &lt;item&gt;Option 3&lt;/item&gt;
          &lt;item&gt;Option 4&lt;/item&gt;
      &lt;/string-array&gt;
  </code></pre>
  
  <p>Which works fine as I can create an Arrayadapter and pass that in to the drawer adapter setter. What I want however is to be able to also specify an icon to sit alongside each option in the drawer so they are not just text options. In C# I would create a new object eg. "NavigationDrawerOption" with a text and image property, then pass in an array of that. Is that the same sort of thing I should do here? If so, how can I specify a key-value mapping in a resource config file, ie not just a string array but an array of string/image options?</p>