Skip to main content
This is documentation for React Native 0.82, which is no longer in active development.
For up-to-date documentation, see the latest version (0.83).
Version: 0.82

ActivityIndicator

Displays a circular loading indicator.

Example​

Reference

Props​

View Props ​

Inherits View Props.


animating​

Whether to show the indicator (true) or hide it (false).

TypeDefault
booltrue

color​

The foreground color of the spinner.

TypeDefault
color null (system accent default color)
Android

(追記) (θΏ½θ¨˜γ“γ“γΎγ§)'#999999'
iOS

hidesWhenStopped
iOS
​

Whether the indicator should hide when not animating.

TypeDefault
booltrue

ref​

A ref setter that will be assigned an element node when mounted.


size​

Size of the indicator.

TypeDefault
enum('small', 'large')
number
Android
'small'

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /