On Apr 4, 5:44 am, Anil <[EMAIL PROTECTED]> wrote: > No, it is a small image: 863 bytes > The second time, I have already removed it from the layout, and am > calling getImageResource again, so I am surprised it is much quicker.
Resources are cached. The primary difference between the two runs is most likely image loading. Btw, it's not just the file size of the image that matters, but also the size of the bitmap it uncompresses to. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

