Thanks,

could any explain why this happened, I want to know memory strategy
for Drawable?

On 19 Лис, 22:04, Dianne Hackborn <[email protected]> wrote:
> You shouldn't modify a Drawable without first calling .mutate() on it (and
> using the Drawable that is returned, no the original).
>
>
>
>
>
>
>
>
>
> On Fri, Nov 19, 2010 at 6:39 AM, viktor <[email protected]> wrote:
> > Hi everyone,
>
> > Drawable resource is set as background for second layouts (Second
> > activity).
>
> > My problem is,  I get Drawable from resources end set color filter to
> > that, than I set this drawable to layout (First activity).
>
> > On second activity I don't set color filter but background remain the
> > same.
>
> > How does an app work with resources, is it cache effect or reference
> > to the same drawable in RAM?
>
> > Thanks
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  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 [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