title: Android xml Array returning 0 for getIndexCount()
body: <p>i'm storing data in an xml array in this fashion</p>
  
  <pre><code>&lt;resources&gt;
      &lt;array name="myarray"&gt;
          &lt;item&gt;
              &lt;item&gt;attribute1&lt;/item&gt;
              &lt;item&gt;attribute2&lt;/item&gt;
              &lt;item&gt;and so on&lt;/item&gt;
          &lt;/item&gt;
          &lt;item&gt;
              &lt;item&gt;attribute1&lt;/item&gt;
              &lt;item&gt;attribute2&lt;/item&gt;
              &lt;item&gt;and so on&lt;/item&gt;
          &lt;/item&gt;
          &lt;item&gt;
              &lt;item&gt;attribute1&lt;/item&gt;
              &lt;item&gt;attribute2&lt;/item&gt;
              &lt;item&gt;and so on&lt;/item&gt;
          &lt;/item&gt;
      &lt;/array&gt;
  &lt;/resources&gt;
  
  // in program
  TypedArray array = getResources().obtainTypedArray(R.array.myarray);
  </code></pre>
  
  <p>when i call array.getIndexCount() in the program it returns 0, what is wrong?</p>