Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native parent opcaity not affecting text

Try changing the opacity using alpha-value of the background color
instead of opacity props. 
Then it should be possible applying different opacities for children.

For example:

<View style={{backgroundColor: 'rgba(0,0,0,0.5)'}}/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #parent #opcaity #affecting #text
ADD COMMENT
Topic
Name
7+1 =