I have an ImageView and do this:

Drawable d = getResources().getDrawable(R.drawable.my_image);
d.mutate().setAlpha(50);
myImageView.setImageDrawable(d);

This works fine on 2.2 but on 1.6 and 2.1 (the only other ones I've
tested on) the alpha has not been changed.

Is this a bug or am I doing something wrong?

-- 
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