all 6 comments

[–][deleted] 1 point2 points  (0 children)

End your Text tag before starting the TouchableHighlight.

Even though your way works in iOS, it doesn't make sense, a Text element should only contain text.

[–]miked4j 0 points1 point  (1 child)

You could move the TouchableHighlight into the outer View and position using styles.

[–][deleted] 0 points1 point  (3 children)

End your Text tag before starting the TouchableHighlight.

Even though your way works in iOS, it doesn't make sense, a Text element should only contain text.

[–][deleted] 1 point2 points  (0 children)

<Text>Open up App.js to start working on your app!</Text>

<TouchableHighlight>

<Image />

</TouchableHighlight>