Native App Background Color Styling

0
In a native app, I can create a custom class to give a background color to any container widget like this: export const myClass = { container: { // ViewStyle properties backgroundColor: 'red' } } Is there any way to give a linear gradient background? Default ColorStyle props of react native only provides plain RGB colors and adjustment of hue/saturation, but no way to define gradients like we can do in CSS.  I could not find any way to use external libraries like React Native Linear Gradient with Mendix native app. We can use this library in a pure react native project, but not sure how to incorporate it in our native app.  Anyone having any idea about this. Is it even possible at the moment (Mendix 8.12.1) to achieve it?
asked
1 answers
0

You could try making an image with the color-gradient you need and setting it as background

answered