SyntaxFix
Write A Post
Hire A Developer
Questions
As setAlpha int has been deprecated, setImageAlpha (int) can be used
ImageView img = (ImageView) findViewById(R.id.img_image); img.setImageAlpha(127); //value: [0-255]. Where 0 is fully transparent and 255 is fully opaque.