reactjs - Reset Child opacity in react native -


so have drawer has background black opacity 0.5 , works fine.i can see transparency.now problem button having opacity dont want , how reset opacity 1 ?i tried rgba , still opacity not resetting in react native.

  <view style={{backgroundcolor:'black',opacity:0.5,height:'100%'}}>              <button backgroundcolor:'black',opacity:1>               <text>click here </text>             </button>       </view> 

use 8 digit hex code background color , remove opacity.

<view style={{ backgroundcolor: '#80000000, height: '100%'}}> 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -