How can define two dimension string array in android resource?
<p>I wish to fill in a spinner control with MsgName field, and get MsgValue when I select a item of the spinner.
so I write the following code.but I don't think it's a good code, is there the better code? 
Do I need to define two dimension string array for my app? How can I do?  Thanks!</p>

<pre><code>&lt;?xmlversion="1.0"encoding="utf-8"?&gt;
&lt;resources&gt;
 &lt;string-arrayname="MsgName"&gt;
   &lt;item&gt;Inbox&lt;/item&gt;
   &lt;item&gt;Sent&lt;/item&gt;
 &lt;/string-array&gt;

 &lt;string-arrayname="MsgValue"&gt;
   &lt;item&gt;content://sms/inbox&lt;/item&gt;
   &lt;item&gt;content://sms/sent&lt;/item&gt;
 &lt;/string-array&gt;

&lt;/resources&gt;
</code></pre>
