I want to developer the bubble with gradient effect like facebook, I tried to set background as linearGradient, then playaround with the bubble background.
As the image below:

I tried to set a parent of bubble view background color = `white', then bubble background = 'transparent' but not working. Can someone give me some advices?
Here is the exactly what I want to do https://cuong-le.medium.com/recreating-the-facebook-messenger-gradient-effect-52a1b17c0c3f
Try this:
Explanation:
Animated.ScrollViewcomponent is used to scroll the messages.MaskedViewcomponent is used to create a mask for the gradient.FlatListcomponent is used to render the messages.AnimatedLinearGradientcomponent is used to create the gradient.Source: check
Working Code: Expo Demo