Wednesday, February 19, 2014

Android - How to apply color filter over ImageView component (link)

http://stackoverflow.com/questions/8193447/i-want-to-add-a-color-filter-to-the-imageview

If you want to use your predefined colours get them this way e.g. :
v.setColorFilter(getResources().getColor(R.color.green), PorterDuff.Mode.SRC_ATOP);

No comments: