Gathering guidance from this post about how to create a background image in RN I learned that I need to have an Image containing other elements:
<Image style=... source=...>
<Text>Hello</Text>
</Image>
However, I think that when an Image has inner elements RN converts it to a view. I came to this conclusion because I am getting this warning:
This is peculiar as the resizeMode was supplied to an Image and not to a View. The style of the containing image as described in the warning:
{
width: null,
height: null,
overflow: "hidden",
flex: 1,
flexDirection: "column",
justifyContent: "space-between",
alignItems: "stretch",
resizeMode: "cover"
}
Should I ignore this warning or is there a proper way to create these kind of structures: