CircleImageView
CircleImageView copied to clipboard
setImageAlpha() is not working
I'm programatically applying alpha values to the image like this: mProfilePicture.setImageAlpha(100); But it doesn't seem to do anything.
I've tried using the same line of code on a regular ImageView and it works just fine, but when applied to the CircleImageView it doesn't work :(
Any suggestions/alternatives?
Not a fix but a workaround -- I ended up putting the CircleImageView inside of a RelativeLayout and changed the opacity by doing this: mRelativeLayout.setAlpha(0.5f);
Alpha is currently not supported - I might add it in the future though.
I have used @dsemelianov's workaround for now by calling .setAlpha on a dummy container view.
Would be nice to have this, though.
Alpha support has been merged in 7ad4632 and will be available with the next release.