Closed manikanta-kotha closed 6 years ago
Did you find a solution to this? @iiitmanikanta
+1
same question here.. maybe zIndex would help?
Maybe something as follows:
<Modal animationType={"none"} transparent={true} visible={this.state.modalVisible} >
<View style={{backgroundColor:'#000', opacity: .7, flex: 1, flexDirection: 'column', alignItems:'center', justifyContent:'center'}}>
<View style={{backgroundColor:'#000', opacity: 1}}>
<Spinner isVisible={true} size={100} type={'ThreeBounce'} color={"#ffffff"}/>
</View>
<View>
<Text allowFontScaling={false} style={{color: '#fff', marginTop: 30, fontSize:24}}>{this.state.modalMessage}</Text>
</View>
</View>
</Modal>
Can someone explain how to add spinner as a overlay?