title: Android Is it possible to define a map in an XML file?
body: <p>I was trying to define a static hash table that makes use of resources, but I got stonewalled by the impossibility of accessing resources statically.<br><br>
  Then I realized that the best of all places to define a static map is in the resources files themselves.<br><br>
  How can I define a map in  XML?
  I believe that if possible it should be similar to the Listpreference mechanism, with entries and entries-values.</p>