3

Is it possible to blend two different views in different modes like Multiply, Add etc.

I have two views one is a RelativeLayout matching parent shape with a background image. Another one is ImageView (solid colored custom shape) inside the parent RelativeLayout.

I need to blend top ImageView to the background image in Multiply mode. any kind of help would be appreciable.

Kalamarico
  • 5,466
  • 22
  • 53
  • 70
Asif Arman
  • 85
  • 8
  • Never heard about multiply mode in Android. I know two approaches to combine two views one through xml https://developer.android.com/training/improving-layouts/reusing-layouts, another through the code https://stackoverflow.com/questions/21400415/inflate-layout-programmatically-within-another-layout – Kirk_hehe Mar 04 '19 at 09:12
  • @Kirk_hehe, I need two separate layouts two blend with each other. It is like a Color Filter over a photgraph. The problem is my color filter is in custom shape. – Asif Arman Mar 06 '19 at 03:52
  • I'm also working on a react-native app and was disappointed to find out this doesn't exist. – Arshan Khanifar Feb 26 '21 at 05:25

0 Answers0