I am trying to build a view with two rows in an iPhone using react native. I want to have two rows with equal height with scroll view. I am not able to find much documentation on this. I am the below code but it just renders on top of each other.
<View style={Styles.splitView}>
<View style={Styles.splitViewLeft}>
<ScrollView>
<Text>Test1</Text>}
</ScrollView>
</View>
<View style={Styles.splitViewRight}>
<ScrollView>
{
<Text>Test2</Text>
}
</ScrollView>
</View>
</View>
splitView: {
flexDirection: 'row'
},
splitViewLeft: {
flex: 3
},
splitViewRight: {
flex: 2
},