> Drawable d1 = getResources().getDrawable(R.drawable.my_image);
> Drawable d2 = getResources().getDrawable(R.drawable.my_image);

> The two drawables are different objects but they both use the same
> "constant state" (it's the actual name of the implementation) which
> contains, among other things, the alpha value, the bitmap... and the
> color filter.

Aughhh ... thats why it started after I added several buttons using
same
image for resource.
So I guess in this moment the solution would be to have several copies
of the same resource.

Is this a known issue or should we fire a bug report ?

10x for the reply
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to