In arrays.xml I have
      <array name="background_list">
         <item>@drawable/pict1</item>
        <item>@drawable/pict2</item>
    </array>

>From code I would like to get an Integer array.

I have tried
 int[] array =  c.getResources().getIntArray(id);

but I am getting array with empty items instead of the ids of my
drawables. Any pointers?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to