Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActivityIndicator not spinning or animated only static image on Android

Activity Indicator in react native working fine on IOS but its not spinning or animating on android, any help ???

<View style{{marginLeft:0,width:60,height:60,borderRadius: 30,justifyContent:"center",alignItems:"center", backgroundColor:'#eee', borderColor:"#fff", borderWidth:1 }}>
    <ActivityIndicator size="small" animating={true}/>
</View>

enter image description here

like image 445
Wathsala De Silva Avatar asked May 03 '18 16:05

Wathsala De Silva


1 Answers

I faced this issue too and the cause is that I had the animations disabled (scaled to x0) in developer options. If you change this configuration (animation scale) or disable developer options it should fix your issue. Hope it helps

like image 183
jonArzelus Avatar answered Sep 28 '22 05:09

jonArzelus