How do I overlay ActivityIndicator in react-native?

前端 未结 8 2307
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 05:55

I have a View with few form elements and a button (TouchableHighlight). On clicking the button, an Activity Indicator should be shown as an overlay to the existing view. The

8条回答
  •  时光取名叫无心
    2020-12-13 06:19

    set in View of Activity Indicator

    position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, alignItems: 'center', justifyContent: 'center'

提交回复
热议问题