diff --git a/Libraries/Components/ActivityIndicator/ActivityIndicator.js b/Libraries/Components/ActivityIndicator/ActivityIndicator.js index 52cbda4a7312..1250f7ab5566 100644 --- a/Libraries/Components/ActivityIndicator/ActivityIndicator.js +++ b/Libraries/Components/ActivityIndicator/ActivityIndicator.js @@ -14,6 +14,7 @@ const Platform = require('../../Utilities/Platform'); const React = require('react'); const StyleSheet = require('../../StyleSheet/StyleSheet'); +const {PlatformColor} = require('../../StyleSheet/PlatformColorValueTypes'); const View = require('../View/View'); import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes'; import type {ViewProps} from '../View/ViewPropTypes'; @@ -183,7 +184,11 @@ ActivityIndicatorWithRef.displayName = 'ActivityIndicator'; * and run Flow. */ ActivityIndicatorWithRef.defaultProps = { animating: true, - color: Platform.OS === 'ios' ? GRAY : null, + color: Platform.select({ + ios: GRAY, + android: PlatformColor('?attr/colorControlActivated'), + default: null, + }), hidesWhenStopped: true, size: 'small', };