React Native setting opacity to parent View opacity, child View will be affected

I"m setting an opacity for a View, and then I find that child controls also have an opacity. How to avoid this problem, that is, to set their own?

I have searched for some answers on the Internet, and a unified statement is to set rgba (xx,xx) to achieve a change in transparency.

but this method treats the symptoms rather than the root of the problem. If my parent view uses a gradient of react-native-linear-gradient this library or other parent components that cannot set rgba , it is impossible to set transparency through rgba , so how to solve this situation? Solve?

Mar.13,2021

then change the structure, change the background of the parent element into a child component, and set opacity

separately.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b377d5-2c081.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b377d5-2c081.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?