Hi Mark,

It sounds similar to the weirdness I noticed in the post below. Maybe
try using the code from my second comment and see if that helps.

http://groups.google.com/group/android-developers/browse_thread/thread/761504bde4573d3e/4a68b54298dd4418#4a68b54298dd4418

Ed

On Sep 9, 1:03 am, Mark Carter <[email protected]> wrote:
> 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