android string-array item attributes
<p>I have string array like this:</p>

<pre><code>&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;string-array name="my_videos"&gt;
    &lt;item&gt;bunny.mp4&lt;/item&gt;
    &lt;item&gt;bunny.m4a&lt;/item&gt;
    &lt;item&gt;bunny.3gp&lt;/item&gt;
&lt;/string-array&gt;
</code></pre>

<p>
And in my app I have this:</p>

<pre><code>String product = ((TextView) view).getText().toString();
</code></pre>

<p>Now I want to put some normal text like this:</p>

<pre><code>&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;string-array name="my_videos"&gt;
    &lt;item name="bunny.mp4"&gt;Movie description 1&lt;/item&gt;
    &lt;item name="bunny.m4a"&gt;Movie description 2&lt;/item&gt;
    &lt;item name="bunny.3gp"&gt;Movie description 3&lt;/item&gt;
&lt;/string-array&gt;
</code></pre>

<p>
Now I want to acces name attribute and not get text.
I am new to Android and do not know if this is possible.</p>

<p>Please help.</p>
