Drawables are cached. So if you reuse the same 9patch in different activities, you're good :)
On Wed, Apr 29, 2009 at 1:00 PM, fadden <fad...@android.com> wrote: > > On Apr 29, 9:53 am, Ward Willats <goo...@wardco.com> wrote: >> While I wait for a crash I can measure, my colleague here points out >> we use a lot of 9 patches as backgrounds for various fields on our >> screens. If they go into bitmap storage, and aren't regularly >> compacted as we move from screen to screen, well, that could suck >> down a lot of the external heap (and fragment it to boot). Perhaps >> single large bitmaps we could preload would be better. >> >> Is that a nutty hypothesis? > > I'll have to leave that to someone else. I'm just the plumber. :-) > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---