Can you use transparent images, super-imposed to refactor your 5000
images to (for example) 5 + 10 + 10 + 10 = 35 rather than 5 * 10 * 10
* 10 = 5000?

On Sep 3, 11:48 am, markh23 <[email protected]> wrote:
> Thanks for the help guys.  I appreciate the time you took, Dianne, to
> write out that response.
>
> And Zod, I just wanted to make a (large) counter for the status bar.
> Nothing fancy.
>
> Sorry about the delay.
>
> On Aug 27, 3:58 pm, Zod <[email protected]> wrote:
>
> > Hi mark23,
>
> > I'm just curious. What do you want to do which requires sooo
> > incredible amount of icon states ?
>
> > I completely aggree with Dianne about the "totally unreasonable thing
> > to do" part.
> > Wasting memory in a desktop application is a bad thing, however nobody
> > may notice a leak of a few tens of megabytes ram. However ram is a
> > pretty precious resource in an embedded environment like a mobile
> > phone, and it should not be wasted carelessly.
>
> > Bye,
> >    Zsolt
>
> > On Aug 27, 6:15 am, markh23 <[email protected]> wrote:
>
> > > Hello,
>
> > > I have a notification icon in the status bar with thousands (5000+) of
> > > states, and each state has a different corresponding icon.  Right now
> > > I'm using a <level-list> xml file to switch between all these
> > > different images.
>
> > > It seems to be working right now (it takes a little longer to install/
> > > uninstall from the emulator however), but does someone see any
> > > problems with this that I'm not catching?  Is it possible to havetoo
> > >manyitems in the res/drawable folder?  Will there be a huge
> > > performance hit by having an icon with somanystates?
>
> > > Thanks.
>
> > > --Mark
--~--~---------~--~----~------------~-------~--~----~
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