Текст в моей обертке фонового изображения не отображается, когда я устанавливаю позицию imageStyle относительно.
<TouchableWithoutFeedback style={{ position: 'relative', flex: 1, justifyContent: 'center' }} delayPressIn={500} onPressIn={() => this.onPressInMic()} onPressOut={() => this.onPressOutMic()}>
<ImageBackground imageStyle={{ position: 'relative', backgroundColor: 'transparent' }} source={this.state.micOn ? Images.micOn : Images.micOff} >
{
this.state.micOn
? (
<Text style={styles.micText}>PRESS TO{'\n'}STOP</Text>)
: (
<Text style={styles.micText}>PRESS TO{'\n'}RECORD</Text>
)
}
</ImageBackground>
</TouchableWithoutFeedback>
![enter image description here](https://i.stack.imgur.com/t6wgo.png)
Текст должен быть внутри изображения, как
![enter image description here](https://i.stack.imgur.com/EqGKd.png)