react-native/React
Alexander Pantyuhov c4ac8b329c StatusBar: barStyle support for Android (API 23+)
Summary:
Android (starting from API 23) supports "light status bar", thus it is possible to extend StatusBar and make `barStyle` property work not only for iOS, but also for Android.

This PR introduces one more `barStyle` option `dark-content` in addition to two existing ones (`default` and `light-content`).
Why there are 3 options instead of 2?

Two simple reasons:
1) to make all existing applications fully compatible with these changes;
2) the default status bar on Android is dark with white text and icons, while on iOS it is light with black text and icons on it. Thus the `default` option means something like "I don't really care, just apply the default color for this platform", while two other options (`light-content` and `dark-content`) allow to accurately specify the required result.
Closes https://github.com/facebook/react-native/pull/10185

Differential Revision: D3952346

fbshipit-source-id: 999a67614abff52321fbeb06298ebf1946c3f1d1
2016-09-30 12:58:37 -07:00
..
Base Make shared new bridge work in wilde/pyml 2016-09-28 14:13:55 -07:00
CSSLayout Free memory used in tests to enable use of valgrind 2016-09-29 04:13:33 -07:00
Executors Fix [JSValue ...] & [JSContext ...] access with custom JSC 2016-09-27 09:43:30 -07:00
Modules StatusBar: barStyle support for Android (API 23+) 2016-09-30 12:58:37 -07:00
Profiler Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
React.xcodeproj Improve RCTNSErrorFromJSError 2016-09-16 06:28:48 -07:00
Views Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00