I am working on an android app widget. Where I've to use setColorFilter with mode PorterDuff.Mode.MULTIPLY.
Currently I am using:
remoteViews.setInt(R.id.image, "setColorFilter", R.color.color_1);
where I only can tint with color. But I need to achieve this with using PorterDuff.Mode.MULTIPLY as my resources supports this mode.
I've searched for a long time for a solution but couldn't find any. Can anyone enlighten me please.