use linear-gradient as background, then i create a brother View which is absolute and can't see it even adjust zIndex
Just put components inside the LinearGradient as if it were a view.
<LinearGradient>
<View>
...
</View>
</LinearGradient>
How can i set a gradient color as a background color of the app ?
Most helpful comment
Just put components inside the LinearGradient as if it were a view.